• Kubernetes Submit Queue's avatar
    Merge pull request #56685 from m1093782566/fix-nodeport · 6719e7ad
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue (batch tested with PRs 54379, 56593, 56685, 54174, 57309). 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>.
    
    Fix ipvs proxier nodeport
    
    **What this PR does / why we need it**:
    
    Fix ipvs proxier nodeport.
    
    **Which issue(s) this PR fixes**:
    Fixes #55923 
    
    **Special notes for your reviewer**:
    
    We bump the netwlink version in the 1st commit because:
    
    * We call `netlink.RouteListFiltered()` to filter LOCAL type addresses from kernel route table. `netlink.RouteListFiltered()` exists in newer-version netlink package
    
    
    * newer-version netlink package migrate `syscall` to `golang.org/x/sys/unix`, k8s cross-build can benefit from it as well. The Go doc for syscall says:
    
    > NOTE: This package is locked down. Code outside the standard Go repository should be migrated to use the corresponding package in the golang.org/x/sys repository. That is also where updates required by new systems or versions should be applied. See https://golang.org/s/go1.4-syscall for more information.
    
    
    
    **Release note**:
    
    ```release-note
    Fix ipvs proxier nodeport eth* assumption
    ```
    6719e7ad
Name
Last commit
Last update
..
apis/kubeproxyconfig Loading commit data...
config Loading commit data...
healthcheck Loading commit data...
iptables Loading commit data...
ipvs Loading commit data...
metrics Loading commit data...
userspace Loading commit data...
util Loading commit data...
winkernel Loading commit data...
winuserspace Loading commit data...
BUILD Loading commit data...
OWNERS Loading commit data...
doc.go Loading commit data...
types.go Loading commit data...