Bird
0
0

Identify the error in this probe configuration:

medium📝 Debug Q6 of 15
Kubernetes - Health Checks and Probes
Identify the error in this probe configuration:
livenessProbe:
  initialDelaySeconds: "5"
  periodSeconds: 10
  timeoutSeconds: 2
AperiodSeconds cannot be greater than timeoutSeconds
BinitialDelaySeconds should be an integer, not a string
CtimeoutSeconds must be equal to initialDelaySeconds
DNo error, configuration is valid
Step-by-Step Solution
Solution:
  1. Step 1: Check data types of parameters

    initialDelaySeconds must be an integer, not a quoted string.
  2. Step 2: Validate other parameters

    periodSeconds and timeoutSeconds values are valid and correctly typed.
  3. Final Answer:

    initialDelaySeconds should be an integer, not a string -> Option B
  4. Quick Check:

    Numeric values must not be quoted [OK]
Quick Trick: Use integers without quotes for timing parameters [OK]
Common Mistakes:
  • Putting numbers in quotes
  • Assuming periodSeconds must be less than timeoutSeconds
  • Thinking timeoutSeconds must match initialDelaySeconds

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes