Inspecting and analyzing the Istio configuration
When debugging the Istio data plane, it is useful to check whether there is any configuration mismatch between the Istio control plane and the data plane. When working with multi-cluster mesh, it is a good idea to first check the connectivity between the control plane and data plane; if your Pod supports curl
, then you can use the following command to check the connectivity between the two:
$ kubectl exec -it curl -c curl -n chapter11 -- curl istiod.istio-system.svc.cluster.local:15014/version 1.16.0-8f2e2dc5d57f6f1f7a453e03ec96ca72b2205783-Clean
To inspect the configuration, the first checkpoint can be to use the istioctl proxy-status
command to find the synchronization state of the cluster, listener, routes, and endpoints configuration between istiod and istio-proxy.
You can use the following command to check the configuration status of the whole cluster:
% istioctl proxy-status NAME &...