Skip to content

Instantly share code, notes, and snippets.

@mjhuber
Last active September 8, 2020 17:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mjhuber/5894b84f650022ded1e5d5ab0df16308 to your computer and use it in GitHub Desktop.
Save mjhuber/5894b84f650022ded1e5d5ab0df16308 to your computer and use it in GitHub Desktop.
istio

Istio

istioctl

istioctl is the main tool used to interact with istio in a cluster. You can install it with brew:

brew install istioctl

Debug steps

  1. Set envoy log to debug or info documentation.
istioctl proxy-config log <pod-name> --level=debug
  1. Check that pods are running
kubectl get po -n istio-system
  1. Get an overview of the mesh. Each pod displayed shoudl show "synced" and have the correct version.
istioctl proxy-status
  1. Check the port configuration for envoy.
istioctl proxy-config cluster -n <namespace> <pod-name>
  1. Analyze the configuration in the mesh.
istioctl analyze

Installing istio

  • 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment