-
Notifications
You must be signed in to change notification settings - Fork 41.6k
[FG:InPlacePodVerticalScaling] Implement resize for sidecar containers #128367
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
Merged
Merged
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
d1fac49
resolve merge conflicts
vivzbansal 0e392f9
Disable e2e test for now
vivzbansal 34ddb91
Fix some unit tests error
vivzbansal cdddaed
Added sidecar support in and
vivzbansal 3885d2f
Added sidecar support in ValidatePodResize and dropNonResizeUpdates
vivzbansal 5d5e903
Revert e2e tests added for sidecar
vivzbansal 591b0f5
Fix issue of pod spec mismatch if there is any non-restarble init con…
vivzbansal a0d3cb0
Added proper validation msg when non-sidecar containers are resized
vivzbansal 1eb966c
Added unit test for sidecar containers in TestValidatePodResize
vivzbansal 1cf4587
Fix build error
vivzbansal 6cf5b80
Fix some unit test error
vivzbansal 6c5cf68
Resolved latest review comments
vivzbansal 9a5c578
test: pod-resize tests for sidecar containers
AnishShah 2ba6132
Fix e2e test error due to ContainersToUpdate map not created
vivzbansal 8fa8277
Added some unit tests
vivzbansal 5ed5732
Refactored status manager code of updatePodFromAllocation
vivzbansal 242dec3
Updated some unit tests and resolved some review comments
vivzbansal 5889da1
Resolved latest review comments
vivzbansal ab964a7
Fix e2e tests failure
vivzbansal c479f00
Update field to use feature gate
vivzbansal c31b1b3
Resolved some review comments
vivzbansal cfa0349
Update validation code
vivzbansal File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
inPlacePodVerticalScalingInUseneeds to be updated too. Change the containers mask to include init containers:kubernetes/pkg/api/pod/util.go
Line 1091 in 754b7fb