Bird
0
0

What is the effect of setting initialDelaySeconds to 0 in an HTTP readiness probe?

medium📝 Command Output Q5 of 15
Kubernetes - Health Checks and Probes
What is the effect of setting initialDelaySeconds to 0 in an HTTP readiness probe?
AProbe runs only once at startup
BProbe starts immediately after container starts
CProbe waits 30 seconds before starting
DProbe is disabled until manually triggered
Step-by-Step Solution
Solution:
  1. Step 1: Understand initialDelaySeconds meaning

    This setting delays the first probe after container start by the specified seconds.
  2. Step 2: Effect of zero delay

    Setting it to 0 means the probe runs immediately after the container starts.
  3. Final Answer:

    Probe starts immediately after container starts -> Option B
  4. Quick Check:

    initialDelaySeconds=0 means immediate probe start [OK]
Quick Trick: Zero initialDelaySeconds means probe runs right after start [OK]
Common Mistakes:
  • Assuming probe is disabled with zero delay
  • Thinking probe waits default 30 seconds
  • Believing probe runs only once

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes