Paths must start with a leading slash '/' to match URLs correctly.
Step 2: Identify missing slash
The path is 'api' instead of '/api', so it won't match requests starting with '/api'.
Final Answer:
Missing leading slash in path value -> Option C
Quick Check:
Paths need leading '/' for correct matching [OK]
Hint: Always start path with '/' in Ingress rules [OK]
Common Mistakes:
Omitting leading slash in path
Using wrong pathType values
Assuming port number must be string
5. You want to route traffic so that:
- '/app' goes to 'app-service'
- '/app/admin' goes to 'admin-service'
Which Ingress path rules correctly implement this path-based routing?