Istio Cheatsheet

← All cheatsheets
$ istioctl analyze -A
IntermediateNetworkingUpdated October 2026

Install Istio in sidecar or ambient mode, inspect proxy config, debug traffic rules and open the mesh dashboards.

Install

istioctl x precheckCheck the cluster before installing
istioctl install --set profile=default -yInstall Istio with sidecars
istioctl install --set profile=ambient -yInstall Istio ambient mode
kubectl label namespace default istio-injection=enabledTurn on sidecar injection
kubectl label namespace default istio.io/dataplane-mode=ambientAdd a namespace to the ambient mesh
istioctl waypoint apply -n default --enroll-namespaceAdd a waypoint proxy for L7 in ambient
istioctl versionShow control plane and data plane versions

Inspect and debug

istioctl analyze -AFind config problems across namespaces
istioctl proxy-statusCheck if proxies are in sync with istiod
istioctl proxy-config routes deploy/productpage -n defaultShow routes a proxy uses
istioctl proxy-config cluster deploy/productpage -n defaultShow upstream clusters
istioctl proxy-config endpoints deploy/productpage -n defaultShow endpoints and health
istioctl x describe pod productpage-v1-abc123 -n defaultExplain which rules apply to a pod
istioctl proxy-config log deploy/productpage --level debugTurn up proxy logging
istioctl ztunnel-config workloadsList workloads seen by ztunnel in ambient

Traffic and security resources

kubectl get virtualservices,destinationrules -AList traffic rules
kubectl get gateways.networking.istio.io -AList Istio gateways
kubectl get peerauthentication,authorizationpolicies -AList mTLS and access policies
istioctl dashboard kialiOpen Kiali
istioctl uninstall --purge -yRemove Istio completely

Strict mTLS for a namespace

apiVersion: security.istio.io/v1
kind: PeerAuthentication
metadata:
  name: default
  namespace: prod
spec:
  mtls:
    mode: STRICT