-
Notifications
You must be signed in to change notification settings - Fork 545
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 iptables partial restore failures #2182
Conversation
/hold I need help with the unit test, I don't know if the query is wrong or what happen but the executor in the test doesn't get samples. /assign @wojtek-t @marseel |
7ccdf66
to
9fe2360
Compare
clusterloader2/pkg/measurement/common/kube_proxy_iptables_restore_failures.go
Outdated
Show resolved
Hide resolved
clusterloader2/pkg/measurement/common/kube_proxy_iptables_restore_failures.go
Outdated
Show resolved
Hide resolved
Could you take a look, please? |
@marseel: GitHub didn't allow me to assign the following users: Argh4k. Note that only kubernetes members, repo collaborators and people who have commented on this issue/PR can be assigned. Additionally, issues/PRs can only have 10 assignees at the same time. In 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/test-infra repository. |
clusterloader2/pkg/measurement/common/kube_proxy_iptables_restore_failures.go
Outdated
Show resolved
Hide resolved
39138a5
to
e17d533
Compare
I don't know prometheus well, but I'll just point out that you also need to set the |
/hold ah, good point, how can I do so this test only runs when this featuregate is set? |
clusterloader2/pkg/measurement/common/kube_proxy_iptables_restore_failures.go
Outdated
Show resolved
Hide resolved
e17d533
to
7ab5384
Compare
/hold cancel PTAL |
Well, I was more concerned in the other direction; you need to set the feature gate in the test run before this test is even useful. But anyway, if the feature gate is disabled, then the metric is guaranteed to be 0, so the test will always pass, so it doesn't matter that much if you just always run it... |
I wasn't thinking that further, I just wanted to have a test that only fail when it should ... now that we have that we have to figure out how to set the feature gate on the jobs 😄 |
If you want to run one-off, then probably approach like in kubernetes/kubernetes#113695 is prefered -- you open PR with artificial Feature Gate change and run presubmit there If you want to run periodics, you can set KUBE_FEATURE_GATES var for CI jobs: https://github.com/kubernetes/test-infra/blob/master/config/jobs/kubernetes/sig-scalability/sig-scalability-presets.yaml#L133 |
I think that in the KEP we kind of agree to run periodics so we can have enough signal for graduation |
I think that this will make it kubernetes/test-infra#27927 |
is the error related? I can't see how
|
/retest |
@mborsz can you review again? |
/lgtm Thanks, looks good! |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: aojea, mborsz 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 |
kube-proxy implemented a new feature to do only partial restore of iptables rules to improve its performance.
The feature adds a new metrics that signals the operator if something goes wrong during the partial resttore. If this metrics is different than zero it most probably a bug in the code.
/kind feature
Ref: https://github.com/kubernetes/enhancements/pull/3454/files#r979617744