Skip to content

Note: This section is only necessary if you need to debug configuration issues. For regular usage, you can skip this section.

Higress has three main components related to runtime configurations:

  • Controller: Generates the complete configuration
  • Pilot: Retrieves configuration from the controller, filters it, and distributes it to the gateway
  • Gateway: Receives configuration from pilot and applies it during request routing

First, get the names of all Higress pods:

Terminal window
kubectl get pods -n higress-system
Terminal window
# Replace 'higress-controller-xxxx-yyyy' with the actual Higress Controller pod name from the previous step
kubectl exec higress-controller-xxxx-yyyy -n higress-system -it -- bash
curl http://localhost:8888/debug/configz # Outputs compact JSON
curl http://localhost:8888/debug/configz?pretty # Outputs formatted JSON
Terminal window
# Replace 'higress-controller-xxxx-yyyy' with the actual Higress Controller pod name
kubectl exec higress-controller-xxxx-yyyy -n higress-system -it -- bash
curl http://localhost:15014/debug/configz # Outputs compact JSON
curl http://localhost:15014/debug/configz?pretty # Outputs formatted JSON
Terminal window
# Replace 'higress-controller-xxxx-yyyy' with the actual Higress Controller pod name
kubectl exec higress-controller-xxxx-yyyy -n higress-system -it -- bash
curl http://localhost:15014/debug/connections
# The above command will output JSON similar to:
# {"totalClients":1,"clients":[{"connectionId":"higress-gateway-7f9f949d64-hmmg8.higress-system-1","connectedAt":"2025-05-12T04:52:23.63339838Z","address":"10.42.0.47:56862","labels":null}]}
# Note one of the connectionId values
curl http://localhost:15014/debug/config_dump?proxyID=higress-gateway-7f9f949d64-hmmg8.higress-system-1 # Replace with the connectionId from above
Terminal window
# Replace 'higress-gateway-xxxx-yyyy' with the actual Higress Gateway pod name
kubectl exec higress-gateway-xxxx-yyyy -n higress-system -it -- bash
curl http://localhost:15000/config_dump
Terminal window
docker exec -it higress-controller-1 bash
curl http://localhost:8888/debug/configz # Outputs compact JSON
curl http://localhost:8888/debug/configz?pretty # Outputs formatted JSON
Terminal window
docker exec -it higress-pilot-1 bash
curl http://localhost:15014/debug/configz # Outputs compact JSON
curl http://localhost:15014/debug/configz?pretty # Outputs formatted JSON
Terminal window
docker exec -it higress-pilot-1 bash
curl http://localhost:15014/debug/connections
# The above command will output JSON similar to:
# {"totalClients":1,"clients":[{"connectionId":"higress-gateway.higress-system-1","connectedAt":"2025-05-12T04:52:23.63339838Z","address":"10.42.0.47:56862","labels":null}]}
# Note one of the connectionId values
curl http://localhost:15014/debug/config_dump?proxyID=higress-gateway.higress-system-1 # Replace with the connectionId from above
Terminal window
docker exec -it higress-gateway-1 bash
curl http://localhost:15000/config_dump

First, confirm the name of your Higress all-in-one container:

Terminal window
docker ps
Terminal window
# Replace 'higress-container-name' with the actual Higress container name or ID
docker exec -it higress-container-name bash
curl http://localhost:8888/debug/configz # Outputs compact JSON
curl http://localhost:8888/debug/configz?pretty # Outputs formatted JSON
Terminal window
# Replace 'higress-container-name' with the actual Higress container name or ID
docker exec -it higress-container-name bash
curl http://localhost:15014/debug/configz # Outputs compact JSON
curl http://localhost:15014/debug/configz?pretty # Outputs formatted JSON
Terminal window
# Replace 'higress-container-name' with the actual Higress container name or ID
docker exec -it higress-container-name bash
curl http://localhost:15014/debug/connections
# The above command will output JSON similar to:
# {"totalClients":1,"clients":[{"connectionId":"higress-gateway.higress-system-1","connectedAt":"2025-05-12T04:52:23.63339838Z","address":"10.42.0.47:56862","labels":null}]}
# Note one of the connectionId values
curl http://localhost:15014/debug/config_dump?proxyID=higress-gateway.higress-system-1 # Replace with the connectionId from above
Terminal window
# Replace 'higress-container-name' with the actual Higress container name or ID
docker exec -it higress-container-name bash
curl http://localhost:15000/config_dump