Interview › Istio & Service Mesh
What are Istio revisions and revision tags, and why use them for upgrades?
Istio & Service Mesh · Intermediate level
Answer
Istio revisions identify different installed control-plane versions, and revision tags provide stable labels such as stable or canary that point to a specific revision. They are used to control which workloads get injected with which sidecar version during upgrades.
Technical explanation
A namespace can be labeled istio.io/rev=1-27 or istio.io/rev=stable.
Tags decouple application namespaces from raw version names, making promotion and rollback simpler.
They also support canary control-plane validation without reconfiguring the entire cluster.
Hands-on example
Example:
$ istioctl tag set stable --revision 1-27
$ istioctl tag set canary --revision 1-28
$ kubectl label namespace payments istio.io/rev=canary --overwrite
$ kubectl rollout restart deploy -n paymentsIf canary fails, point the namespace back to stable and restart only that namespace.
Check 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?
- Does the data plane keep working if the control plane goes down, and why?
- How do Istio Gateways relate to the Kubernetes Gateway API?
- How do you enforce that all traffic leaving the mesh goes through an egress gateway?
- What is the difference between Istio and an API gateway?
- What is locality-aware load balancing, and why does it help latency and cost?
- How do you handle non-HTTP (TCP) traffic in Istio?
- How does Istio handle multi-cluster service discovery at a high level?