-
Notifications
You must be signed in to change notification settings - Fork 40k
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
kube-proxy: Fix NewProxyServer #56256
kube-proxy: Fix NewProxyServer #56256
Conversation
Different OSes need different args. This is not a great fix, but better than adding an arg to Windows which doesn't need it.
/release-note-none |
@@ -46,7 +46,11 @@ import ( | |||
) | |||
|
|||
// NewProxyServer returns a new ProxyServer. | |||
func NewProxyServer(config *proxyconfigapi.KubeProxyConfiguration, cleanupAndExit bool, scheme *runtime.Scheme, master string) (*ProxyServer, error) { | |||
func NewProxyServer(o *Options) (*ProxyServer, error) { |
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.
Just double checking, but we're OK to have the "cleanup ipvs" flag (and maybe others) ignored on windows, rather than returning a "not supported" type error?
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 think that's the easiest path forward. The flags are kind of a mess, and being cross-platform makes it 10x worse. We need a more holistic answer
/status approved-for-milestone |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: caseydavenport, thockin Associated issue: 56238 The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
/status in-progress |
Our bots are so demanding. |
/retest pull-kubernetes-node-e2e |
/retest |
[MILESTONENOTIFIER] Milestone Pull Request Current @caseydavenport @dcbw @thockin Note: This pull request is marked as Example update:
Pull Request Labels
|
All green but I don't see it in queue ? |
I see it in queue now, @thockin. |
Automatic merge from submit-queue (batch tested with PRs 56249, 56118, 56255, 56252, 56256). If you want to cherry-pick this change to another branch, please follow the instructions here. |
Different OSes need different args. This is not a great fix, but better
than adding an arg to Windows which doesn't need it.
Fixes #56238