istioctl is the main tool used to interact with istio in a cluster. You can install it with brew:
brew install istioctl
- Set envoy log to debug or info documentation.
istioctl proxy-config log <pod-name> --level=debug
- Check that pods are running
kubectl get po -n istio-system
- Get an overview of the mesh. Each pod displayed shoudl show "synced" and have the correct version.
istioctl proxy-status
- Check the port configuration for envoy.
istioctl proxy-config cluster -n <namespace> <pod-name>
- Analyze the configuration in the mesh.
istioctl analyze
- uses the
istio
role in kube_deploy - the manifests that kube_deploy uses are generated with the profile.yml file:
istioctl manifest generate -f profile.yml > manifest.yml