-
Notifications
You must be signed in to change notification settings - Fork 39.4k
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
Remove deprecated flag --resource-container from kube-proxy #78294
Remove deprecated flag --resource-container from kube-proxy #78294
Conversation
/priority backlog |
8f7f092
to
318b3fa
Compare
/uncc |
/uncc @bowei Sorry for the spam :C (Of course I get this command wrong several times...) |
65124af
to
e00ed66
Compare
f266200
to
6667837
Compare
@@ -138,9 +138,6 @@ type KubeProxyConfiguration struct { | |||
// portRange is the range of host ports (beginPort-endPort, inclusive) that may be consumed | |||
// in order to proxy service traffic. If unspecified (0-0) then ports will be randomly chosen. | |||
PortRange string | |||
// resourceContainer is the absolute name of the resource-only container to create and run | |||
// the Kube-proxy in (Default: /kube-proxy). | |||
ResourceContainer string |
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.
You must also remove the default value for ResourceContainer
(https://github.com/kubernetes/kubernetes/blob/master/pkg/proxy/apis/config/v1alpha1/defaults.go#L61-L63)
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.
Thanks, I spotted that but I'm still missing something. All unit tests are fine, but the system doesn't start properly in e2e.
3829fc6
to
3fd1807
Compare
/test pull-kubernetes-bazel-build |
1 similar comment
/test pull-kubernetes-bazel-build |
3fd1807
to
dc0f143
Compare
Thanks! /lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: thockin, vllry 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 |
FYI added |
Can we change the release note flag to be more instructive? I suggest:
|
Removed in kubernetes/kubernetes#78294 (A k/k breaking change: `--resource-container=""` is now the default!)
Updated |
What type of PR is this?
/kind cleanup
What this PR does / why we need it:
Removes a long-deprecated field (
--resource-container
) from kube-proxy. This also removes the resourceContainer code, as kube-proxy was the last component to use it.Which issue(s) this PR fixes:
Fixes #78287
Special notes for your reviewer:
Does this PR introduce a user-facing change?: