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

Add warning that liveness probe must be configured carefully #39930

Merged
merged 5 commits into from
Mar 29, 2023

Conversation

KanishkaVerma054
Copy link
Contributor

Title of the Commit

Better words are used.

Which issue(s) this PR fixes
Part of #16607

Description
'killing' is replaced with 'restart' and 'pod' is replaced by 'container'.

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. language/en Issues or PRs related to English language labels Mar 12, 2023
@k8s-ci-robot k8s-ci-robot added sig/docs Categorizes an issue or PR as relevant to SIG Docs. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Mar 12, 2023
@k8s-ci-robot k8s-ci-robot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Mar 13, 2023
@KanishkaVerma054 KanishkaVerma054 requested review from tengqm and binboum and removed request for onlydole, reylejano, tengqm and binboum March 13, 2023 05:31
@netlify
Copy link

netlify bot commented Mar 13, 2023

Pull request preview available for checking

Built without sensitive environment variables

Name Link
🔨 Latest commit 994fa2c
🔍 Latest deploy log https://app.netlify.com/sites/kubernetes-io-main-staging/deploys/64120f062b76d10008488426
😎 Deploy Preview https://deploy-preview-39930--kubernetes-io-main-staging.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@tengqm
Copy link
Contributor

tengqm commented Mar 13, 2023

/label tide/merge-method-squash
/lgtm

@k8s-ci-robot k8s-ci-robot added the tide/merge-method-squash Denotes a PR that should be squashed by tide when it merges. label Mar 13, 2023
@k8s-ci-robot k8s-ci-robot added do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. approved Indicates a PR has been approved by an approver from all required OWNERS files. and removed lgtm "Looks good to me", indicates that a PR is ready to be merged. labels Mar 13, 2023
@k8s-ci-robot k8s-ci-robot requested review from tengqm and removed request for binboum March 13, 2023 14:28
@KanishkaVerma054 KanishkaVerma054 requested review from binboum and removed request for tengqm March 13, 2023 16:15
Comment on lines 32 to 34
A common pattern for liveness probes is to use the same low-cost HTTP endpoint
as for readiness probes, but with a higher `failureThreshold`. This ensures that the pod
is observed as not-ready for some period of time before it is hard killed.
Copy link
Contributor

Choose a reason for hiding this comment

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

This should not be part of the caution?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@tengqm Should I put this into 'note' section?

Copy link
Contributor

Choose a reason for hiding this comment

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

My feeling is that this can be in plain text. It is a hint, not something users must follow or must be alerted for.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Alright then I will modify the changes

@sftim
Copy link
Contributor

sftim commented Mar 16, 2023

/hold cancel
/approve cancel

@k8s-ci-robot k8s-ci-robot removed do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Mar 16, 2023
@KanishkaVerma054
Copy link
Contributor Author

Hello @tengqm I've modified the changes as you've asked...may you please review my changes.

@szuecs
Copy link
Member

szuecs commented Mar 24, 2023

@KanishkaVerma054 thanks for the PR, it reads very well. I don't have anything to add as there are already great comments.

@KanishkaVerma054 KanishkaVerma054 requested review from binboum and tengqm and removed request for tengqm and binboum March 28, 2023 15:47
@tengqm
Copy link
Contributor

tengqm commented Mar 29, 2023

/lgtm
/approve

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Mar 29, 2023
@k8s-ci-robot
Copy link
Contributor

LGTM label has been added.

Git tree hash: 73a65575e0be91bed70f9a4aeeab2bdb3e22ffed

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: binboum, tengqm

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 29, 2023
@k8s-ci-robot k8s-ci-robot merged commit e6eedac into kubernetes:main Mar 29, 2023
kemkemG0 pushed a commit to kemkemG0/website that referenced this pull request Apr 4, 2023
…tes#39930)

* a warning on liveness probes about cascading failures, added

* A warning that liveness probe must be configured carefully.

* better words are added

* wrapping of the log lines

* warning is modified that liveness probe must be configured carefully
@KanishkaVerma054 KanishkaVerma054 deleted the Liveness-Probes-edit branch April 8, 2023 15:03
DonatoHorn pushed a commit to DonatoHorn/website that referenced this pull request Jun 25, 2023
…tes#39930)

* a warning on liveness probes about cascading failures, added

* A warning that liveness probe must be configured carefully.

* better words are added

* wrapping of the log lines

* warning is modified that liveness probe must be configured carefully
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. language/en Issues or PRs related to English language lgtm "Looks good to me", indicates that a PR is ready to be merged. sig/docs Categorizes an issue or PR as relevant to SIG Docs. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. tide/merge-method-squash Denotes a PR that should be squashed by tide when it merges.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants