Inject the sidecar manually

Add the Istio sidecar to a deployment manifest by hand and apply it

istioctl kube-inject -f deployment.yaml | kubectl apply -f -

tool
istio19 commands
tags
istioservice-meshsidecarinject

More istio commands

  • istioctl dashboard kiali

    Open the Kiali service mesh dashboard in the browser

  • istioctl dashboard jaeger

    Open the Jaeger dashboard for distributed tracing

  • kubectl logs -l app=myapp -c istio-proxy | head -50

    Read Envoy access logs from the sidecar container

  • # In VirtualService spec.http[].fault.delay

    Inject artificial delay to test resilience (in VirtualService)

  • # In VirtualService spec.http[].mirror

    Mirror traffic to a shadow service for testing

all 19 istio commands