-
Notifications
You must be signed in to change notification settings - Fork 461
Make our resourcemerge fork update a container's Resources.Requests, un-revert #2802 #3028
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
Make our resourcemerge fork update a container's Resources.Requests, un-revert #2802 #3028
Conversation
Resourcemerge did not previously merge a container's Resources.Requests in ensureContainer(), which meant that during upgrade cases where we update the container object directly with changes (instead of applying/re-applying the manifests), Resources.Requests changes would not propagate to the updated object. This makes ensureContainer update Resources.Requests if it has changed, which keeps that structure from getting scraped off when we update. ( Which will keep us from failing tests, since at least cpu and memory in that structure are required fields )
|
Skipping CI for Draft Pull Request. |
|
Grr wish we could have gotten #2882 in and avoided this |
|
I have a weak grasp of this but the fix makes sense to me |
|
/approve |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cgwalters, jkyros, mkenigs The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
I think our deal was in order to re-merge we needed a clean payload test (after we passed CI). e2e-agnostic-upgrade will probably flake at least once, but even so I'm going to hold this so it doesn't try to auto-merge. I'll trigger the payload test after we get a green CI run. |
|
/retest |
|
I'm not just blindly mashing on it, I promise. That last run was sandbox creation failures because it couldn't reach the container registry. |
|
/retest |
1 similar comment
|
/retest |
|
@jkyros: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions 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/test-infra repository. I understand the commands that are listed here. |
|
/payload 4.11 ci blocking |
|
@deads2k: trigger 5 jobs of type blocking for the ci release of OCP 4.11
See details on https://pr-payload-tests.ci.openshift.org/runs/ci/c1e8e190-a6bc-11ec-87d5-de4f6e72f000-0 |
|
@deads2k it looks like that passed everything in the payload test except for those failures in e2e-aws-serial and that looks like etcd problems (and I am not seeing a way this code could be affecting that). There were a couple lines under With that (I didn't want to just try retesting again without asking because these tests are expensive) |
|
I talked to David, he said the pass level on the test appeared to be sufficient (since it passed the conformance that it failed) to let it back in, so I'm unholding. |
A payload was rejected due to upgrade test failures for the machine-config-controller, and PR #2802 was reverted.
This PR "un-reverts" the reversion from #3027 and fixes the underlying issue that was causing the failures.
How the original problem happened:
How this fixes it: