0
0
Kubernetesdevops~10 mins

Probe timing parameters (initialDelay, period, timeout) in Kubernetes - Interactive Code Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to set the initial delay for a liveness probe to 10 seconds.

Kubernetes
livenessProbe:
  initialDelaySeconds: [1]
Drag options to blanks, or click blank then click option'
A10
B15
C20
D5
Attempts:
3 left
💡 Hint
Common Mistakes
Using zero or too low value causing premature probe failures.
2fill in blank
medium

Complete the code to set the probe period to 5 seconds.

Kubernetes
readinessProbe:
  periodSeconds: [1]
Drag options to blanks, or click blank then click option'
A3
B5
C10
D15
Attempts:
3 left
💡 Hint
Common Mistakes
Setting periodSeconds too low causing unnecessary load.
3fill in blank
hard

Fix the error in the probe timeout setting to 3 seconds.

Kubernetes
startupProbe:
  timeoutSeconds: [1]
Drag options to blanks, or click blank then click option'
A5
B2
C1
D3
Attempts:
3 left
💡 Hint
Common Mistakes
Setting timeoutSeconds too low causing probe failures.
4fill in blank
hard

Fill both blanks to set initial delay to 15 seconds and period to 10 seconds for a liveness probe.

Kubernetes
livenessProbe:
  initialDelaySeconds: [1]
  periodSeconds: [2]
Drag options to blanks, or click blank then click option'
A15
B5
C10
D20
Attempts:
3 left
💡 Hint
Common Mistakes
Mixing up initialDelaySeconds and periodSeconds values.
5fill in blank
hard

Fill all three blanks to set startup probe with initial delay 20, period 5, and timeout 4 seconds.

Kubernetes
startupProbe:
  initialDelaySeconds: [1]
  periodSeconds: [2]
  timeoutSeconds: [3]
Drag options to blanks, or click blank then click option'
A20
B5
C4
D10
Attempts:
3 left
💡 Hint
Common Mistakes
Setting timeoutSeconds longer than periodSeconds.