Study. uk . com
  1. Home
  2. All questions
  3. Question 736

CKA study material · question 736 of 1000

An Ingress declares /foo as a Prefix path and /foo as an Exact path, pointing at different Services. Where does a request for /foo go?

  1. To the Exact path's backend
  2. To the Prefix path's backend
  3. To whichever rule appears first in the manifest
  4. To the default backend, because the rules conflict
Show the answer

Answer: A. To the Exact path's backend

Where both an Exact and a Prefix path match the same request, the Exact one is preferred.

Source: Ingress (Kubernetes) — The Ingress resource › Path types › Examples

Challenge yourself on this topic → Study as cards