-
Notifications
You must be signed in to change notification settings - Fork 820
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
Clone Kubernetes objects in API Server before encoding them #2089
Clone Kubernetes objects in API Server before encoding them #2089
Conversation
8a2ecfe
to
734f0c4
Compare
Random suspicion: I believe this comment may have been a symptom of this bug:
|
734f0c4
to
599645a
Compare
Build Succeeded 👏 Build Id: 027a12ac-9fc5-41e6-8a1d-8178a3e43971 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:
|
599645a
to
8876ee8
Compare
Build Succeeded 👏 Build Id: 93d6e184-0598-4f0d-b8a7-2e55d5d7dc82 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: 1b5aa5d6-8447-4cb5-8b1b-de645e10be64 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 Failed 😱 Build Id: 3c6206ac-e599-4945-a6ac-b61bc5554931 To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
1 similar comment
Build Failed 😱 Build Id: 3c6206ac-e599-4945-a6ac-b61bc5554931 To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
8876ee8
to
53a2d98
Compare
Build Succeeded 👏 Build Id: fa930db5-e079-48ce-95fa-9ba6fc9bc3da 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: fb311c16-4edd-4c53-9b0e-31e851cd8be5 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:
|
This works around a race condition present in the encoder for Kubernetes objects, as detailed in kubernetes/kubernetes#82497 Uses the fix from kubernetes/kubernetes#101123 Fixes googleforgames#2086
53a2d98
to
136ba05
Compare
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: highlyunavailable, roberthbailey 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 |
Build Succeeded 👏 Build Id: 2b194e37-a1fd-4d2b-ad0d-23ee4f24b393 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 bug
What this PR does / Why we need it:
This works around a race condition present in the encoder for Kubernetes objects, as detailed in kubernetes #82497.
Which issue(s) this PR fixes:
Closes #2086
Special notes for your reviewer:
An shallow copy is used here instead of a mutex since that is the suggested fix in the Kubernetes PR and I'd rather align with their fix strategy. I've checked for use of this in other places in Agones, but this is the only place we use this specific encoder.