Enable mTLS (strict)

Enforce strict mutual TLS for all workloads in namespace

kubectl apply -f - <<EOF apiVersion: security.istio.io/v1beta1 kind: PeerAuthentication metadata: name: default namespace: default spec: mtls: mode: STRICT EOF

tool
istio19 commands
tags
istioservice-meshmtlssecurity

More istio commands

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

    Manually inject Istio sidecar into a deployment manifest

  • istioctl dashboard kiali

    Open Kiali service mesh dashboard in browser

  • istioctl dashboard jaeger

    Open Jaeger distributed tracing dashboard

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

    View Envoy access logs from the sidecar container

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

    Inject artificial delay to test resilience (in VirtualService)

all 19 istio commands