Turn on strict mTLS

Require mutual TLS for all workloads in the 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 -

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

  • 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)

all 19 istio commands