Bird
0
0

An Ingress resource has both 'canary: "true"' and 'canary-weight: "50"' annotations, but traffic is not splitting as expected. What is a common misconfiguration causing this?

medium📝 Troubleshoot Q7 of 15
Kubernetes - Advanced Deployment Patterns
An Ingress resource has both 'canary: "true"' and 'canary-weight: "50"' annotations, but traffic is not splitting as expected. What is a common misconfiguration causing this?
AThe Ingress resource is missing TLS configuration
BThe primary service has no endpoints
CThe canary service selector is missing or incorrect
DThe canary-weight value must be less than 10
Step-by-Step Solution
Solution:
  1. Step 1: Verify canary service selector presence

    Canary traffic routing requires correct selector labels on canary service.
  2. Step 2: Understand impact of missing selector

    Without selector, Ingress cannot route traffic to canary, so split fails.
  3. Final Answer:

    The canary service selector is missing or incorrect -> Option C
  4. Quick Check:

    Missing canary selector = no traffic split [OK]
Quick Trick: Always set correct selector labels for canary service [OK]
Common Mistakes:
  • Confusing TLS config with traffic splitting
  • Assuming primary endpoints affect canary split
  • Believing canary-weight must be below 10

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes