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

Move back to FailureThreshold failures of /gshealthz #3160

Merged
merged 1 commit into from
May 17, 2023

Conversation

zmerlynn
Copy link
Collaborator

@zmerlynn zmerlynn commented May 17, 2023

This again reverts part of #3072. In looking at recent failures, in cases where the sidecar is slow to come up due to networking issues, /gshealthz fails, resulting often in the unnecessary restart of the game server.

This returns to the more generous failure threshold from prior to to just make this ~infinite, i.e. neuter kubelet liveness, since health is really owned by the controller and sidecar.

@zmerlynn
Copy link
Collaborator Author

Analysis of a recent failure.
image

@agones-bot
Copy link
Collaborator

Build Failed 😱

Build Id: f50aa99d-ed0a-458e-bca8-37f253bebb0b

To get permission to view the Cloud Build view, join the agones-discuss Google Group.

//
// Note that in general, FailureThreshold could also be infinite - the controller
// and sidecar are responsible for health management.
FailureThreshold: gs.Spec.Health.FailureThreshold,
Copy link
Collaborator

Choose a reason for hiding this comment

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

The default value is 3, right?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yeah, and can be raised, in theory.

@google-oss-prow google-oss-prow bot added the lgtm label May 17, 2023
@google-oss-prow
Copy link

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: gongmax, zmerlynn
Once this PR has been reviewed and has the lgtm label, please assign alekser for approval. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found 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

@google-oss-prow google-oss-prow bot removed the lgtm label May 17, 2023
@google-oss-prow
Copy link

New changes are detected. LGTM label has been removed.

@agones-bot
Copy link
Collaborator

Build Failed 😱

Build Id: 64d0d412-7220-4b1f-8d97-6e0bef8f770c

To get permission to view the Cloud Build view, join the agones-discuss Google Group.

@zmerlynn zmerlynn force-pushed the bump-healthcheck-window-back branch from 14574eb to 1e935d1 Compare May 17, 2023 19:41
This again reverts part of googleforgames#3072. In looking at recent failures, in
cases where the sidecar is slow to come up due to networking issues,
/gshealthz fails, resulting often in the unnecessary restart of the
game server.

This returns to the more generous failure threshold from prior to
to just make this ~infinite, i.e. neuter kubelet liveness, since
health is really owned by the controller and sidecar.
@zmerlynn zmerlynn force-pushed the bump-healthcheck-window-back branch from 1e935d1 to bdb648b Compare May 17, 2023 19:46
@zmerlynn zmerlynn enabled auto-merge (squash) May 17, 2023 19:48
@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: 9fb4ad91-f23c-4bb4-9c12-91e08b52b32b

The following development artifacts have been built, and will exist for the next 30 days:

A preview of the website (the last 30 builds are retained):

To install this version:

  • git fetch https://github.com/googleforgames/agones.git pull/3160/head:pr_3160 && git checkout pr_3160
  • helm install agones ./install/helm/agones --namespace agones-system --agones.image.release=us-docker.pkg.dev/agones-images/ci --set agones.image.tag=1.32.0-bdb648b-amd64

@zmerlynn zmerlynn merged commit 0137747 into googleforgames:main May 17, 2023
@Kalaiselvi84 Kalaiselvi84 added the kind/bug These are bugs. label May 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug These are bugs. size/S
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants