Skip to content

Latest commit

 

History

History
 
 

14-istio-debugging

Examples

Use istioctl analyze to detect issues

istioctl analyze

Pilot's ControlZ interface:

kubectl port-forward -n istio-system deploy/istiod 9876

Or

istioctl dashboard controlz deployment/istiod.istio-system

Envoy admin page:

kubectl port-forward -n default deploy/reviews-v1 15000 &

Envoy bootstrap config

kubectl exec -n default deploy/reviews-v1 -c istio-proxy -- cat /etc/istio/proxy/envoy-rev0.json

Or:

istioctl proxy-config bootstrap -n default deploy/reviews-v1

Envoy in sync:

istioctl proxy-status

Or see if update_rejected gets incremented for a pdo:

curl localhost:15000/stats | grep update_rejected

Envoy config dump

curl localhost:15000/config_dump

Or

istioctl proxy-status deploy/reviews-v1
istioctl proxy-config cluster deploy/reviews-v1
istioctl proxy-config route deploy/productpage-v1
istioctl proxy-config listener deploy/details-v1

Debug logs

Control plane, through the ControlZ interface

Data plane:

curl 'localhost:15000/logging?level=debug'
kubectl logs -n default deploy/productpage-v1 -c istio-proxy

Further reading