Bird
0
0

Identify the error in this HTTP readiness probe configuration: readinessProbe: httpGet: path: health port: "8080" periodSeconds: 5

medium📝 Debug Q6 of 15
Kubernetes - Health Checks and Probes
Identify the error in this HTTP readiness probe configuration: readinessProbe: httpGet: path: health port: "8080" periodSeconds: 5
APort should be an integer, not a string
BhttpGet is not valid under readinessProbe
CperiodSeconds cannot be less than 10
DPath must start with a slash '/'
Step-by-Step Solution
Solution:
  1. Step 1: Check path format in httpGet

    HTTP path must start with a slash '/' to be valid.
  2. Step 2: Validate other fields

    Port as string is allowed, periodSeconds can be 5, and httpGet is valid under readinessProbe.
  3. Final Answer:

    Path must start with a slash '/' -> Option D
  4. Quick Check:

    HTTP path must start with '/' [OK]
Quick Trick: HTTP path must always start with '/' [OK]
Common Mistakes:
  • Using port as string is allowed
  • Assuming periodSeconds minimum is 10
  • Thinking httpGet is invalid under readinessProbe

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes