![]() Automatic merge from submit-queue. 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>. Refactor kube-proxy service/endpoints update so that can be consumed among different proxiers **What this PR does / why we need it**: There are huge duplication among different proxiers. For example, the service/endpoints list/watch part in iptables, ipvs and windows kernel mode(to be get in soon). I think the more places this is replicated the harder it becomes to keep correct. We may need to refactor it and let different proxiers consume the same code. **Which issue this PR fixes**: fixes #52464 **Special notes for your reviewer**: * This refactor reduces **500** Lines in iptables proxy, so it will reduce **500*N**(number of proxiers) lines in total. People no need to care the service/endpoints update logic any more and can be more focus on proxy logic. * I would like to do the following things in follow-ups: 1. rsync it to ipvs proxier 2. rsync it to winkernel proxier **Release note**: ```release-note Refactor kube-proxy service/endpoints update so that can be consumed among different proxiers ``` |
||
---|---|---|
.. | ||
BUILD | ||
OWNERS | ||
proxier_test.go | ||
proxier.go |