Bird
0
0

What is wrong with this probe configuration?

medium📝 Debug Q7 of 15
Kubernetes - Health Checks and Probes
What is wrong with this probe configuration?
readinessProbe:
  initialDelaySeconds: 5
  periodSeconds: 3
  timeoutSeconds: 10
ANo issues, configuration is valid
BinitialDelaySeconds must be greater than periodSeconds
CtimeoutSeconds is longer than periodSeconds, causing overlapping probes
DperiodSeconds cannot be less than 5 seconds
Step-by-Step Solution
Solution:
  1. Step 1: Compare timeoutSeconds and periodSeconds

    timeoutSeconds (10s) is longer than periodSeconds (3s), so probes may overlap.
  2. Step 2: Understand probe timing impact

    Overlapping probes can cause resource issues or false failures.
  3. Final Answer:

    timeoutSeconds is longer than periodSeconds, causing overlapping probes -> Option C
  4. Quick Check:

    timeoutSeconds should be less than or equal to periodSeconds [OK]
Quick Trick: timeoutSeconds must not exceed periodSeconds [OK]
Common Mistakes:
  • Ignoring probe overlap caused by timing
  • Assuming initialDelaySeconds must be greater than periodSeconds
  • Believing periodSeconds has a minimum of 5 seconds

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes