Interview › Istio & Service Mesh
How do you upgrade Istio safely (canary control plane, revision tags)?
Istio & Service Mesh · Intermediate level
Answer
I upgrade Istio safely by installing the new control plane as a canary revision, moving a small set of workloads to that revision, validating telemetry and traffic, then promoting the revision tag and rolling the rest gradually. I avoid in-place upgrades that change every workload at once.
Technical explanation
Revision-based upgrades let old and new control planes coexist during validation.
Workload migration requires restart because sidecar injection happens at pod creation.
Rollback is moving the namespace revision tag back and restarting affected workloads, assuming CRDs and APIs remain compatible.
Hands-on example
Upgrade example:
$ istioctl install --set revision=1-28 -y
$ kubectl label namespace canary istio.io/rev=1-28 --overwrite
$ kubectl rollout restart deploy -n canary
$ istioctl proxy-statusAfter validation:
$ istioctl tag set stable --revision 1-28Check how well your resume matches the role with our free resume checker— match score, ATS check, and the skills you're missing.
More Istio & Service Mesh interview questions
- What is the Kubernetes Gateway API, and how is Istio adopting it?
- How do Istio Gateways relate to the Kubernetes Gateway API?
- What is the difference between Istio and an API gateway?
- Does the data plane keep working if the control plane goes down, and why?
- How do you enforce that all traffic leaving the mesh goes through an egress gateway?
- How do you handle non-HTTP (TCP) traffic in Istio?
- How do you exclude certain ports or IP ranges from sidecar interception?
- What is locality-aware load balancing, and why does it help latency and cost?