-
Notifications
You must be signed in to change notification settings - Fork 40.3k
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
Promote SidecarContainers feature to GA #129731
Promote SidecarContainers feature to GA #129731
Conversation
This issue is currently awaiting triage. If a SIG or subproject determines this is a relevant issue, they will accept it by applying the The 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. |
/cc @matthyx @SergeyKanzhelev |
8e388e4
to
2cb6899
Compare
@@ -934,6 +935,8 @@ func (m *kubeGenericRuntimeManager) computePodActions(ctx context.Context, pod * | |||
// is done and there is no container to start. | |||
if len(containersToStart) == 0 { | |||
hasInitialized := false | |||
// TODO: Remove this code path as logically it is the subset of the next | |||
// code path. |
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.
xref: #127162 (comment)
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.
I'm not entirely sure about the intent behind keeping this code path. When will it be possible to remove it completely?
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.
we will need to introduce a separate feature gate so we switch logic safely. Keeping two code path doesn't really makes sense long term, but short term we want to be extra cautious
021e88d
to
9e23fa9
Compare
Any reason to keep the WIP label? |
only to address this comment. We'll leave the TODO comment here and add a new PR to create a temporary feature gate to remove the redundant code in the next release(1.34), right? |
cleaned up the commits and removed the WIP label from the PR. /assign @SergeyKanzhelev |
This leaves TODOs in pkg/kubelet/kuberuntime to remove these redundant code paths later, since they are supposed to be a subset of the new code paths.
8008162
to
8d27bf2
Compare
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.
LGTM label has been added. Git tree hash: c89c14a805a62503e6d8b62286ac1db496583965
|
@gjkim42 in the release note |
/approve |
/approve for API |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: gjkim42, janetkuo, msau42, SergeyKanzhelev 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 |
What type of PR is this?
/kind feature
What this PR does / why we need it:
This PR promotes the SidecarContainers feature to the GA.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: