Anything you do to Istio twice should be automated. This walks the path from a manual install to a repeatable, pipeline-driven setup.
1. Install it reproducibly
istioctl install --set profile=demo -y
kubectl label namespace default istio-injection=enabled
istioctl verify-install2. Describe the desired state
Shift 10% of traffic to v2 with a VirtualService.
apiVersion: networking.istio.io/v1
kind: VirtualService
metadata: { name: web }
spec:
hosts: [web]
http:
- route:
- destination: { host: web, subset: v1 }
weight: 90
- destination: { host: web, subset: v2 }
weight: 103. Run it from CI
Enforce strict mTLS mesh-wide.
apiVersion: security.istio.io/v1
kind: PeerAuthentication
metadata: { name: default, namespace: istio-system }
spec: { mtls: { mode: STRICT } }Want senior help putting Istio to work - or a team bootcamp on it? CodeWizard runs Israel's largest DevOps community and embeds named senior engineers with a transparent hours log. Book a free consult or explore the Academy.