• Kubernetes Submit Queue's avatar
    Merge pull request #66064 from honkiko/fix-nodeport-local · bcb74bc2
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue (batch tested with PRs 66064, 66040). 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 Local externalTrafficPolicy is not respected for ipvs NodePort
    
    **What this PR does / why we need it**:
    Local externalTrafficPolicy is not respected for ipvs NodePort.
    This PR fixes it.
    
    **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 #66062
    
    **Special notes for your reviewer**:
    Manually tested accessing NodePort with externalTrafficPolicy=Local  and externalTrafficPolicy=Cluster.
    
    **Release note**:
    
    ```release-note
    
    ```
    bcb74bc2
Name
Last commit
Last update
..
testing Loading commit data...
BUILD Loading commit data...
OWNERS Loading commit data...
README.md Loading commit data...
ipset.go Loading commit data...
ipset_test.go Loading commit data...
netlink.go Loading commit data...
netlink_linux.go Loading commit data...
netlink_unsupported.go Loading commit data...
proxier.go Loading commit data...
proxier_test.go Loading commit data...