Challenge - 5 Problems
Istio Traffic Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
💻 Command Output
intermediate1:30remaining
What is the output of this Istio VirtualService configuration?
Given this VirtualService YAML snippet, what will be the percentage of traffic routed to version v2 of the service?
Kubernetes
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
name: reviews
spec:
hosts:
- reviews
http:
- route:
- destination:
host: reviews
subset: v1
weight: 80
- destination:
host: reviews
subset: v2
weight: 20
Attempts:
2 left
💡 Hint
Look at the weights assigned to each subset in the route section.
✗ Incorrect
The VirtualService routes 80% of traffic to subset v1 and 20% to subset v2, so v2 gets 20%.
🧠 Conceptual
intermediate1:00remaining
Which Istio resource controls the routing rules for traffic splitting?
In Istio, which resource is responsible for defining how traffic is split between different versions of a service?
Attempts:
2 left
💡 Hint
This resource defines HTTP routing rules and traffic distribution.
✗ Incorrect
VirtualService defines routing rules including traffic splitting between subsets.
❓ Troubleshoot
advanced2:00remaining
Why does traffic not split as expected despite correct VirtualService weights?
You configured a VirtualService to split traffic 50-50 between v1 and v2 subsets. However, all traffic goes to v1. What is the most likely cause?
Attempts:
2 left
💡 Hint
Check if subsets used in VirtualService are defined elsewhere.
✗ Incorrect
If subsets are not defined in DestinationRule, traffic routing to those subsets fails, defaulting to one version.
🔀 Workflow
advanced2:30remaining
Order the steps to implement canary deployment with Istio traffic shifting
Arrange these steps in the correct order to perform a canary deployment using Istio traffic management.
Attempts:
2 left
💡 Hint
Think about deploying first, then defining subsets, then routing, then shifting traffic.
✗ Incorrect
First deploy v2, then define subsets in DestinationRule, then create VirtualService for routing, then increase traffic gradually.
✅ Best Practice
expert2:00remaining
What is the best practice to avoid downtime during Istio traffic shifting?
When shifting traffic between service versions in Istio, what practice helps avoid downtime and errors?
Attempts:
2 left
💡 Hint
Think about minimizing risk and detecting issues early.
✗ Incorrect
Gradual traffic shifting with monitoring allows detecting problems early and rolling back if needed, avoiding downtime.