Bird
0
0

You want to increase the client body size limit in your NGINX Ingress. Which annotation is correct?

medium📝 Troubleshoot Q7 of 15
Kubernetes - Ingress
You want to increase the client body size limit in your NGINX Ingress. Which annotation is correct?
Anginx.ingress.kubernetes.io/client-max-body-size: "10m"
Bnginx.ingress.kubernetes.io/proxy-body-size: "10m"
Cnginx.ingress.kubernetes.io/proxy-read-timeout: "10m"
Dnginx.ingress.kubernetes.io/body-size-limit: "10m"
Step-by-Step Solution
Solution:
  1. Step 1: Identify correct annotation for client body size

    The annotation to set max client body size in NGINX Ingress is 'client-max-body-size'.
  2. Step 2: Confirm correct value format

    Setting it to "10m" means 10 megabytes limit.
  3. Final Answer:

    nginx.ingress.kubernetes.io/client-max-body-size: "10m" -> Option A
  4. Quick Check:

    client-max-body-size sets client body limit [OK]
Quick Trick: Use client-max-body-size to increase client upload limit [OK]
Common Mistakes:
  • Using proxy-body-size which is invalid
  • Confusing with proxy-read-timeout
  • Inventing body-size-limit annotation

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes