-
Notifications
You must be signed in to change notification settings - Fork 38.6k
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
Validate kube-proxy IPVS configuration #53901
Conversation
Signed-off-by: Ferran Rodenas <frodenas@gmail.com>
Hi @frodenas. 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 I understand the commands that are listed here. 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/test-infra repository. I understand the commands that are listed here. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: frodenas Assign the PR to them by writing Associated issue: 53852 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 |
/sig network |
/cc @m1093782566 |
a duplication of #53780? |
Sorry my initial PR didn't point to my issue at first. However, I think discussing below the issue may help avoid PR duplication? FYI:) |
@@ -38,6 +38,7 @@ func Validate(config *componentconfig.KubeProxyConfiguration) field.ErrorList { | |||
allErrs = append(allErrs, validateKubeProxyConntrackConfiguration(config.Conntrack, newPath.Child("KubeProxyConntrackConfiguration"))...) | |||
allErrs = append(allErrs, validateProxyMode(config.Mode, newPath.Child("Mode"))...) | |||
allErrs = append(allErrs, validateClientConnectionConfiguration(config.ClientConnection, newPath.Child("ClientConnection"))...) | |||
allErrs = append(allErrs, validateKubeProxyIPVSConfiguration(config.IPVS, newPath.Child("KubeProxyIPVSConfiguration"))...) |
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.
Sorry, It's almost a duplication of #53780?
Thanks @xiangpengzhao , +1 BTW, I am applying for pkg/proxy/OWNERS reviewer(#53864), possibly the k8s-robot will assign more IPVS proxier stuff related PRs to me in the future. |
@m1093782566 awesome! |
@m1093782566 yep, this is a duplicate then. I checked the issue for PR and assignment references before working on my PR. I see you added them now, good. Closing this issue. |
Thanks! |
What this PR does / why we need it:
kube-proxy
IPVS configuration was not validated when using a config file. This PR adds validation for IPVS configuration.Which issue this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close that issue when PR gets merged): fixes #53852Special notes for your reviewer:
Release note: