mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-02-28 04:30:38 -05:00
Automatic merge from submit-queue (batch tested with PRs 66136, 64999, 65425, 66120, 66074). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Not step into ipvs.CleanupLeftovers() if canUseIPVS's false **What this PR does / why we need it**: Earlier we decide whether we should clean up the left-over ipvs rules inside `ipvs.CleanupLeftovers()`, therefore we call function `ipvs.CanUseIPVSProxier()` two times (and `GetModules()` two times). Actually no need to step into `ipvs.CleanupLeftovers()` if `canUseIPVS` is false. **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*: Fixes # **Special notes for your reviewer**: **Release note**: ```release-note NONE ``` |
||
|---|---|---|
| .. | ||
| apis/kubeproxyconfig | ||
| config | ||
| healthcheck | ||
| iptables | ||
| ipvs | ||
| metrics | ||
| userspace | ||
| util | ||
| winkernel | ||
| winuserspace | ||
| BUILD | ||
| doc.go | ||
| endpoints.go | ||
| endpoints_test.go | ||
| OWNERS | ||
| service.go | ||
| service_test.go | ||
| types.go | ||