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
Automated cherry pick of #108095: Route controller should update routes with NodeIP changed #116362
Automated cherry pick of #108095: Route controller should update routes with NodeIP changed #116362
Conversation
… reboots or kubelet restarts, it is possible that its IP is changed. In this case, node route should be updated with the correct IP. In this PR, it checks if the IP in an existing route is the same as the actual one. If not, it marks it as "update" so the old route will be deleted and a new one will be created. There's a new field EnableNodeAddresses, which is a feature gate for specific cloud providers to enable after they update their cloud provider code for CreateRoute(). Signed-off-by: Zhecheng Li <zhechengli@microsoft.com>
This cherry pick PR is for a release branch and has not yet been approved by Release Managers. To merge this cherry pick, it must first be approved ( AFTER it has been approved by code owners, please leave the following comment on a line by itself, with no leading whitespace: /cc kubernetes/release-managers (This command will request a cherry pick review from Release Managers and should work for all GitHub users, whether they are members of the Kubernetes GitHub organization or not.) For details on the patch release process and schedule, see the Patch Releases page. 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. |
This issue is currently awaiting triage. If a SIG or subproject determines this is a relevant issue, they will accept it by applying the The 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. |
/kind bug |
@andrewsykim hello, this is the backport PR of node route. Shall we merge it? |
/lgtm |
LGTM label has been added. Git tree hash: 7a571d7cbf487a33bc76b98061cb8c0ba799f228
|
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: khenidak, lzhecheng, thockin 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 |
/cc kubernetes/release-managers |
Add the release note for this? |
Cherry pick of #108095 on release-1.26.
#108095: Route controller should update routes with NodeIP changed
For details on the cherry pick process, see the cherry pick requests page.