-
Notifications
You must be signed in to change notification settings - Fork 858
Controller for Pod in Succeeded state. #4201
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
Controller for Pod in Succeeded state. #4201
Conversation
Build Failed 😭 Build Id: 0d598dd6-57f6-4526-be3c-bf5b43bd7ce6 Status: FAILURE To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
/gcbrun |
Build Failed 😭 Build Id: 5926551c-2d54-4be0-bf50-f8a1af75f2e8 Status: FAILURE To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
Gah, lint test failure! Rookie mistake! 🤣 |
aff1ca0
to
354b91d
Compare
Build Failed 😭 Build Id: c9e7a4f8-88f8-4606-b11c-938ccebc616b Status: FAILURE To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
Welp, something went definitely wrong here:
|
When sidecar containers are enabled, if a Pod `exit(0)`s, then it will end up in a Succeeded state, and the backing GameServer will not get deleted. This introduces a new controller to check for this Pod state and move the `GameServer` to a `Shutdown` state. Also updates all records of simple-game-server to the latest version, since we need it to test that this fix works. Closes googleforgames#4188
354b91d
to
a14eb74
Compare
🤞🏻 I believe that should fix all those issues. |
Build Failed 😭 Build Id: a62d63b0-fb18-4333-803a-9fff2fece65f Status: FAILURE To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
Gah! #4163 got me again.
|
a14eb74
to
c36629c
Compare
Build Failed 😭 Build Id: 23ea4f3f-2a99-4a6c-b248-32e540b65d56 Status: FAILURE To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
Ooh, new bug. Feature flags disabled.
|
Build Failed 😭 Build Id: fab54ff8-f77c-497c-9347-ec4805f480c1 Status: FAILURE To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
b1d1c1a
to
8e6055a
Compare
Build Failed 😭 Build Id: 1015e240-5015-44bb-84a8-f41488273b27 Status: FAILURE To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
* Ignore terminating pods. * Ignores Error or Unhealthy states. * Minor cleanup of failing e2e test, to help with error reporting.
Blarg. More |
8e6055a
to
6ec5418
Compare
Build Failed 😭 Build Id: e58b3483-5854-40dc-bcfc-287047224b6e Status: FAILURE To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
Okay, seems like |
eeyyy! it finally passed. Okay, was just bad flakiness. We should really get that step de-flaked. |
Build Succeeded 🥳 Build Id: afb9221a-7879-48af-9fb4-06b1c7feed0c 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:
|
bump bump @igooch , @peterzhongyi @gongmax please. |
LGTM |
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.
LGTM
What type of PR is this?
/kind bug
What this PR does / Why we need it:
When sidecar containers are enabled, if a Pod
exit(0)
s, then it will end up in a Succeeded state, and the backing GameServer will not get deleted.This introduces a new controller to check for this Pod state and move the
GameServer
to aShutdown
state.Also updates all records of simple-game-server to the latest version, since we need it to test that this fix works.
Which issue(s) this PR fixes:
Closes #4188
Special notes for your reviewer:
Won't pass until https://us-docker.pkg.dev/agones-images/examples/simple-game-server:0.38 is published.