Bird
0
0

Which is the correct way to specify a path in a Kubernetes Ingress rule for path-based routing?

easy📝 Configuration Q12 of 15
Kubernetes - Ingress
Which is the correct way to specify a path in a Kubernetes Ingress rule for path-based routing?
Aurl: /app urlType: Prefix
Broute: /app routeType: Exact
CservicePath: /app serviceType: Exact
Dpath: /app pathType: Prefix
Step-by-Step Solution
Solution:
  1. Step 1: Recall Ingress rule syntax

    Ingress rules use path and pathType keys to define routing.
  2. Step 2: Match correct keys and values

    Correct keys are path and pathType, with values like '/app' and 'Prefix'.
  3. Final Answer:

    path: /app pathType: Prefix -> Option D
  4. Quick Check:

    Use path and pathType keys for routing [OK]
Quick Trick: Look for 'path' and 'pathType' keys in Ingress rules [OK]
Common Mistakes:
  • Using wrong keys like 'route' or 'url'
  • Mixing up pathType values
  • Missing pathType field

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes