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

fix: Fixed liveness periodseconds to 10 so that crashloopback off doe… #1325

Merged

Conversation

mukulgit123
Copy link
Contributor

@mukulgit123 mukulgit123 commented May 28, 2024

Changes

Fixed liveness periodseconds to 10 so that crashloopback off doesn't happen which causes expired lease to get stuck.

Which is already fixed in knative-serving with knative/serving#15255

/kind bug

Fixes knative/serving#15255

Release Note


Docs


…sn't happen which causes expired lease to get stuck.
Copy link

knative-prow bot commented May 28, 2024

@mukulgit123: The label(s) kind/<kind> cannot be applied, because the repository doesn't have them.

In response to this:

…sn't happen which causes expired lease to get stuck.

Changes

Fixed liveness periodseconds to 10 so that crashloopback off doesn't happen which causes expired lease to get stuck.

Which is already fixed in knative-serving with knative/serving#15255

/kind

Fixes knative/serving#15255

Release Note


Docs


Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

Copy link

knative-prow bot commented May 28, 2024

Welcome @mukulgit123! It looks like this is your first PR to knative-extensions/net-istio 🎉

Copy link

knative-prow bot commented May 28, 2024

Hi @mukulgit123. Thanks for your PR.

I'm waiting for a knative-extensions member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@knative-prow knative-prow bot added size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels May 28, 2024
@knative-prow knative-prow bot requested review from izabelacg and ReToCode May 28, 2024 07:44
@ReToCode
Copy link
Member

ReToCode commented May 28, 2024

Hm probably introducing startup-probes is a better approach. This would also set the later lifeness-check to only every 10 seconds. This massively increases the time until the pod would be considered unhealthy: 10 * 6 = 60 seconds vs 10 * 1s.
WDYT @dprotaso @skonto ?

@dprotaso
Copy link
Contributor

/lgtm
/approve

Hm probably introducing startup-probes is a better approach.

Want to do some follow up PRs? Let's merge this in for now.

@knative-prow knative-prow bot added the lgtm Indicates that a PR is ready to be merged. label May 28, 2024
@dprotaso
Copy link
Contributor

/ok-to-test

Copy link

knative-prow bot commented May 28, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dprotaso, mukulgit123

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

@knative-prow knative-prow bot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. approved Indicates a PR has been approved by an approver from all required OWNERS files. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels May 28, 2024
@ReToCode
Copy link
Member

@dprotaso no concerns about?

This massively increases the time until the pod would be considered unhealthy: 10 * 6 = 60 seconds vs 10 * 1s.

@dprotaso
Copy link
Contributor

This massively increases the time until the pod would be considered unhealthy: 10 * 6 = 60 seconds vs 10 * 1s.

Unsure - because we've had now two scenarios in the past where the liveness kicks and restarts the pod before the webhook is ready.

Maybe our liveness probes are wrong and shouldn't be dependent on HTTPS.

This PR just fixes the stale lease issue - and we can make adjustments before v1.15 is out.

@knative-prow knative-prow bot merged commit 95a6d95 into knative-extensions:main May 28, 2024
35 checks passed
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. lgtm Indicates that a PR is ready to be merged. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

knative-serving v1.10.6 webhook pods failing due to "server key missing" missing error
3 participants