Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature-#10481 - use startup probe option for first initialization of application #108

Merged
merged 1 commit into from
Mar 7, 2023

Conversation

rabajaj0509
Copy link
Contributor

Applications take longer to start up the first time. In these situations, setting up liveness probe parameters might be challenging without sacrificing the quick response time that led to the probe's creation. Setting up a startup probe with the same command, TCP check, and a failureThreshold* periodSeconds long enough to account for the worst-case startup delay is therefore a good idea.

@kezhenxu94 kezhenxu94 added this to the 4.5.0 milestone Mar 7, 2023
@kezhenxu94 kezhenxu94 added the enhancement New feature or request label Mar 7, 2023
Comment on lines 106 to 109
tcpSocket:
port: 12800
failureThreshold: 9
periodSeconds: 10
Copy link
Member

@kezhenxu94 kezhenxu94 Mar 7, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What do you think if we remove this (Line 106 ~ Line 109) and uncomment the startupProbe section in values.yaml?

… application

Applications take longer to start up the first time. In these situations, setting up liveness probe parameters might be challenging without sacrificing the quick response time that led to the probe's creation. Setting up a startup probe with the same command, HTTP or TCP check, and a failureThreshold* periodSeconds long enough to account for the worst-case startup delay is therefore a good idea.
Copy link
Member

@kezhenxu94 kezhenxu94 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @rabajaj0509 !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
2 participants