-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
Update Kubernetes Manifests to comment out liveness probe #67080
Conversation
Liveness probe can cause kubernetes to reboot nodes when the database is busy but functioning properly, so we are commenting out that probe.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a phrasing suggestion!
Reviewable status: complete! 0 of 0 LGTMs obtained (waiting on @chrisseto and @keith-mcclellan)
cloud/kubernetes/cockroachdb-statefulset.yaml, line 118 at r1 (raw file):
- containerPort: 8080 name: http # We recommend that users don't configure liveness probes for production environments as it can impact availability of production databases.
I suggest this wording in all the manifests:
We recommend that you do not configure a liveness probe on a production environment, as this can impact the availability of production databases.
Do we want to add something like "A liveness probe can be used to verify the health of a test deployment." (if that is true)
I also suggest indenting this at the same level as livenessProbe
to be consistent with the other comments.
Happy to change the wording. The second one isn't really true - liveness probes are good for "quiet" environments but noisy ones they're bad. This is something we'd probably want to expound on in the docs rather than a yaml comment. What do you think @taroface ? |
Sounds good. I'll create a separate ticket to document the use of |
changed content description and updated commented out format to be in line with the rest of the yaml comments
bors r+ |
🔒 Permission denied Existing reviewers: click here to make keith-mcclellan a reviewer |
bors r+ |
Build succeeded: |
Liveness probe can cause kubernetes to reboot nodes when the database is busy but functioning properly, so we are commenting out that probe.