[FG:InPlacePodVerticalScaling] Implement resize for sidecar containers#128367
[FG:InPlacePodVerticalScaling] Implement resize for sidecar containers#128367k8s-ci-robot merged 22 commits intokubernetes:masterfrom
Conversation
|
Hi @vivzbansal. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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-sigs/prow repository. |
|
/assign @tallclair |
|
/ok-to-test |
|
@vivzbansal: Cannot trigger testing until a trusted user reviews the PR and leaves an DetailsIn response to this:
Instructions 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-sigs/prow repository. |
|
/ok-to-test |
tallclair
left a comment
There was a problem hiding this comment.
Review is still WIP, but publishing my comments so far
|
/retest |
|
LGTM label has been added. DetailsGit tree hash: be8e5aba891b5d1bd1875f965c75bc335c0d2520 |
thockin
left a comment
There was a problem hiding this comment.
validation and strategy are OK.
/approve
| if utilfeature.DefaultFeatureGate.Enabled(features.InPlacePodVerticalScaling) { | ||
| if cs, ok := podutil.GetContainerStatus(pod.Status.ContainerStatuses, container.Name); ok { | ||
| containerStatuses := pod.Status.ContainerStatuses | ||
| if utilfeature.DefaultFeatureGate.Enabled(features.SidecarContainers) && podutil.IsRestartableInitContainer(container) { |
There was a problem hiding this comment.
SidecarContainers promotes to GA in this release.
Can you remove the feature gate check from the kubelet code?
There was a problem hiding this comment.
Sure, we can remove the feature gate check in a separate PR.
|
Hmm, not sure what owners are missing. |
|
Weird. Looks like @thockin's approval didn't get registered. |
Yes I think so. |
|
[APPROVALNOTIFIER] This PR is APPROVED Approval requirements bypassed by manually added approval. This pull-request has been approved by: tallclair, vivzbansal 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 |
|
@vivzbansal: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. 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-sigs/prow repository. I understand the commands that are listed here. |
|
/retest |
What type of PR is this?
/kind feature
What this PR does / why we need it:
Resize of sidecar containers should work the same as resize of regular containers. This PR adds the capability to resize the sidecar containers (restartable init containers) when in-place pod resizing is enabled. Resize of non-restartable init containers is still not allowed.
Which issue(s) this PR fixes:
Fixes #128070
Special notes for your reviewer:
There was an earlier PR #128272 created which got closed due to some significant changes made in PR #128269
Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:
/sig node
/priority important-soon
/milestone v1.33