Bird
0
0

Which annotation correctly specifies the use of the Nginx ingress controller in a Kubernetes Ingress resource?

easy📝 Configuration Q12 of 15
Kubernetes - Ingress
Which annotation correctly specifies the use of the Nginx ingress controller in a Kubernetes Ingress resource?
Akubernetes.io/ingress.class: "nginx"
Bingress.kubernetes.io/controller: "traefik"
Ckubernetes.io/controller: "nginx"
Dingress.class: "nginx-controller"
Step-by-Step Solution
Solution:
  1. Step 1: Recall correct annotation key for ingress class

    The standard annotation to specify ingress controller is kubernetes.io/ingress.class.
  2. Step 2: Match correct value for Nginx

    The value for Nginx ingress controller is "nginx".
  3. Final Answer:

    kubernetes.io/ingress.class: "nginx" -> Option A
  4. Quick Check:

    Annotation key = kubernetes.io/ingress.class [OK]
Quick Trick: Use kubernetes.io/ingress.class: "nginx" for Nginx [OK]
Common Mistakes:
  • Using wrong annotation keys
  • Mixing Traefik and Nginx values
  • Omitting quotes around values

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes