Skip to content
KEP Brain

KEP-2238keps/sig-node/2238-liveness-probe-grace-period

Liveness Probe Grace Period

implementablestablesig-nodelatest v1.281 open finding
Liveness probes currently use the terminationGracePeriodSeconds on both normal shutdown and when probes fail. Hence, if a long termination period is set, and a liveness probe fails, a workload will not be promptly restarted because it will wait for the full termination period. I propose adding a new field to probes, probe.terminationGracePeriodSeconds. When… Full summary

Liveness probes currently use the terminationGracePeriodSeconds on both normal shutdown and when probes fail. Hence, if a long termination period is set, and a liveness probe fails, a workload will not be promptly restarted because it will wait for the full termination period. I propose adding a new field to probes, probe.terminationGracePeriodSeconds. When set, it will override the terminationGracePeriodSeconds for liveness or startup termination, and will be ignored for readiness probes. This maintains the current behaviour if desired while providing configuration to address this unintended behaviour.

Facts

Authors
@ehashman
PRR approvers
@johnbelamaricalpha@johnbelamaricbeta@johnbelamaricstable
Tracking issue
#2238(opens GitHub in a new tab) closednot_plannedclosed 2024-06-15 01:33 UTCsig/nodestage/stablelifecycle/rotten
Milestones
alpha v1.21beta v1.22stable v1.28
Participating SIGs
none
Feature gates
ProbeTerminationGracePeriod
Created / last updated
2021-01-07 / none
Loading decisions and status history

Keyboard shortcuts

Everywhere

?
Show or hide this list
/
Focus the question box on Ask, otherwise the page search
Ctrl Kor⌘ K
Focus the KEP search in the top bar
t
Switch the theme (system, light, dark)
Esc
Close a dialog, a search list or a menu

Go to a page

Press g, then the letter

g h
Home
g a
Ask
g e
Explore
g u
Audit
g m
Memory
g b
About

Ask

Enter
Send the question
Shift Enter
New line in the question
Esc
Cancel the running question

Search lists

KEP search and Explore search

↓or↑
Move through the results
HomeorEnd
First or last result (Explore)
Enter
Open the highlighted result, or KEP-n when the query is a number

KEP page

o
Open the KEP on GitHub
y
Open kep.yaml on GitHub
a
Ask about this KEP
←or→
Previous or next tab, when a tab is focused

Findings table

With a finding row focused (Tab into the table or click a row)

jork
Next or previous finding
EnterorSpace
Expand or collapse the finding
o
Open the finding's KEP page
d
Draft the fix as an issue text (nothing is posted)
]or[
Next or previous page of findings

Shortcuts pause while you type in a field. Press ? or Esc to close.