CertLumen

Certified Kubernetes Administrator (CKA) · Section 3 · 20% of the exam

Use the Gateway API to manage Ingress traffic

One of the objectives of the Certified Kubernetes Administrator (CKA) exam, in the section “Services and Networking”. Here is what it covers, the points to remember and a question to try.

What it covers

Ingress and the Gateway API both route external HTTP(S) traffic to Services through a controller you must install. Ingress is stable but frozen; the Gateway API is its role-oriented, more expressive successor and is named in the current curriculum.

Points to remember

  • Ingress and Gateway API need a controller; objects alone route nothing
  • Ingress is stable but frozen; Gateway API is the recommended successor
  • ingress-nginx was retired in March 2026: plan a migration
  • ingressClassName picks the controller; a default IngressClass has the is-default-class annotation
  • pathType is required: Exact, Prefix or ImplementationSpecific; longest match wins

Try a question

Developers in shop want their HTTPRoute to send traffic to a Service auth in namespace identity. The route is Accepted, but its ResolvedRefs condition is False with reason RefNotPermitted. What must be created?

  1. AA ReferenceGrant in shop that allows the route to point at Services in any other namespace
  2. BA NetworkPolicy in identity that allows ingress on port 80 from Pods in the shop namespace
  3. CA ReferenceGrant in identity allowing HTTPRoutes from shop to reference Services
  4. DAn ExternalName Service in shop with the same name as the HTTPRoute, pointing at the auth Service
Show the answer

C. RefNotPermitted means the reference crosses a namespace without permission. The target namespace creates a ReferenceGrant naming the from kind and namespace and the to kind.

Written for practice in the style of the exam: never a question from the real exam.

In the course

The lesson Gateway API and Ingress teaches this objective (about 50 minutes), and 16 practice questions test it. The course has lessons, exam-style questions, timed practice exams and an AI tutor for every objective, and a pass prediction that tells you when you're ready to book.

More in this section

← Previous objective · All 27 objectives · Next objective →