Bird
0
0

Which Kubernetes resource is typically used to switch traffic between blue and green deployments?

easy📝 Syntax Q12 of 15
Kubernetes - Advanced Deployment Patterns
Which Kubernetes resource is typically used to switch traffic between blue and green deployments?
AConfigMap
BPersistentVolume
CService
DIngress Controller
Step-by-Step Solution
Solution:
  1. Step 1: Identify traffic routing resource

    In Kubernetes, a Service routes traffic to pods based on labels.
  2. Step 2: Understand blue-green switching

    Switching traffic between blue and green versions is done by changing the Service selector to point to the desired pods.
  3. Final Answer:

    Service -> Option C
  4. Quick Check:

    Service routes traffic in blue-green deployments [OK]
Quick Trick: Service controls traffic routing between versions [OK]
Common Mistakes:
  • Choosing ConfigMap which stores config data
  • Selecting PersistentVolume which manages storage
  • Picking Ingress Controller which manages external access

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes