-
Notifications
You must be signed in to change notification settings - Fork 858
Adoption of Sidecar Containers #4146
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
Adoption of Sidecar Containers #4146
Conversation
Build Failed 😭 Build Id: 743d2942-f5ea-4307-87a4-0ac7f292afc7 Status: FAILURE To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
9a34a42
to
eab7749
Compare
Build Succeeded 🥳 Build Id: bcd4442a-a271-4d0b-b317-8f0aa3cff6f3 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:
|
eab7749
to
b4ecf04
Compare
Conflicts fixed. Gentle bump on review plz :) |
Build Succeeded 🥳 Build Id: 82100b9d-79d2-42a1-a84f-870207efca0f 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:
|
b4ecf04
to
1e58065
Compare
Thanks Mark! I'll take a look! Coincidentally, I just met with a potential customer who's evaluating Agones and they were specifically interested in GameServer's pod restart policy induced edge cases. So this PR might change a lot of things! |
Build Failed 😭 Build Id: e780bc6f-9ccc-432d-97d4-1274f44aadba Status: FAILURE To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
Looks like it's time to recycle the autopilot clusters please. |
Updating now. |
/gcbrun |
Build Succeeded 🥳 Build Id: 9aadf63a-9089-4c62-b4de-bbdf0cc35d7d 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:
|
1e58065
to
884674e
Compare
Build Succeeded 🥳 Build Id: 5be3d922-35be-4d70-9a00-76f5be90d09f 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:
|
dce1a86
to
bcd0c0b
Compare
Build Succeeded 🥳 Build Id: bc079cc7-a5e7-4adb-a1f0-57408872e367 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:
|
@@ -334,7 +334,7 @@ test-e2e-integration: GO_E2E_TEST_INTEGRATION_ARGS ?=\ | |||
test-e2e-integration: $(ensure-build-image) | |||
echo "Starting e2e integration test!" | |||
ifdef E2E_USE_GOTESTSUM | |||
$(GOTESTSUM) --packages=$(agones_package)/test/e2e -- $(go_test_args) -timeout=30m $(ARGS) -args \ | |||
$(GOTESTSUM) --packages=$(agones_package)/test/e2e -- $(go_test_args) -timeout=45m $(ARGS) -args \ |
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.
Revert back down to 30m?
This is a breaking change for both how health checking works and to the SDK lifecycles, but behind the `SidecarContainer` feature flag. 1. This moves the sdkserver into a initContainer with a `RestartPolicy` of always. This means that it will be alive for the entirety of the main Pod's containers. 2. There is no waiting for the Shutdown signal any more for the sidecar container before shutting down since it now natively waits for the main Pod containers. 3. The RestartPolicy of the `gameserver` container defaults to `Never` (although it can be changed), and no longer restarts before the `Ready` state to simplify lifecycle health checking. 4. Various hacky health checks are now simplified to "is the Pod in a `Failed` state.", and therefore we no longer need to do as much text searching for edge cases. Next: Write the docs to make sure this change all works. Work on googleforgames#3642
bcd0c0b
to
cda7ff3
Compare
Build Succeeded 🥳 Build Id: accafeee-0a46-4579-8686-fdc0bdd786e8 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:
|
Build Succeeded 🥳 Build Id: daa9c466-b770-4f65-94f0-0628d8791ff5 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:
|
Build Succeeded 🥳 Build Id: aee3da24-e49f-4528-9892-388074c0fece 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:
|
What type of PR is this?
/kind breaking
What this PR does / Why we need it:
This is a breaking change for both how health checking works and to the SDK lifecycles, but behind the
SidecarContainer
feature flag.RestartPolicy
of always. This means that it will be alive for the entirety of the main Pod's containers.gameserver
container defaults toNever
(although it can be changed), and no longer restarts before theReady
state to simplify lifecycle health checking.Failed
state.", and therefore we no longer need to do as much text searching for edge cases.Which issue(s) this PR fixes:
Work on #3642
Special notes for your reviewer:
Next: Write the docs for this work.