Skip to content

fix: set a 1s default PeriodSeconds for the startupProbe#992

Open
NiccoloFei wants to merge 1 commit into
mainfrom
dev/startup-probe-period
Open

fix: set a 1s default PeriodSeconds for the startupProbe#992
NiccoloFei wants to merge 1 commit into
mainfrom
dev/startup-probe-period

Conversation

@NiccoloFei

@NiccoloFei NiccoloFei commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

Closes #991

Note: previously, with a 10s PeriodSeconds we had a maximum time
window of (failureThreshold: 10, periodSeconds: 10 = 100s) to allow
the startup probe to succeed before the kubelet would kill the container.

With 1s PeriodSeconds that window is reduced to 10s. Should we also increase
the value of failureThreshold accordingly? I wouldn't restore the old time window
but a value of 20 or 30 sounds reasonable.

@NiccoloFei NiccoloFei requested a review from a team as a code owner July 6, 2026 15:50
@dosubot dosubot Bot added size:XS This PR changes 0-9 lines, ignoring generated files. bug Something isn't working labels Jul 6, 2026
Signed-off-by: Niccolò Fei <niccolo.fei@enterprisedb.com>
@NiccoloFei NiccoloFei force-pushed the dev/startup-probe-period branch from 3e68e2f to 5aef349 Compare July 6, 2026 15:53
@dosubot dosubot Bot added the lgtm This PR has been approved by a maintainer label Jul 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working lgtm This PR has been approved by a maintainer size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Sidecar startupProbe's periodSeconds (defaults to 10s) unnecessarily slows down the startup of each pod

2 participants