title | weight |
---|---|
How to figure out what happened to a request in Istio? |
80 |
You can enable tracing to determine the flow of a request in Istio.
Additionally, you can use the following commands to know more about the state of the mesh:
-
istioctl proxy-config
: Retrieve information about proxy configuration when running in Kubernetes:{{< text plain >}}
$ istioctl proxy-config bootstrap productpage-v1-bb8d5cbc7-k7qbm
$ istioctl proxy-config cluster productpage-v1-bb8d5cbc7-k7qbm
$ istioctl proxy-config listener productpage-v1-bb8d5cbc7-k7qbm
$ istioctl proxy-config route productpage-v1-bb8d5cbc7-k7qbm
$ istioctl proxy-config endpoints productpage-v1-bb8d5cbc7-k7qbm
$ istioctl proxy-config --help {{< /text >}}
-
kubectl get
: Gets information about different resources in the mesh along with routing configuration:{{< text plain >}}
$ kubectl get virtualservices {{< /text >}}