Skip to content
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

Improve how flannel-windows reserves an IP for kube-proxy vip #5661

Merged
merged 1 commit into from
Apr 3, 2024

Conversation

manuelbuil
Copy link
Contributor

@manuelbuil manuelbuil commented Apr 2, 2024

Proposed Changes

This PR improves two steps:
1 - We move from "cniVersion": "0.2.0", to "cniVersion": "1.0.0" which requires a change in the SourceVipResponse struct
2 - Moved "vxlan0" host-local network to "flannel.4096", so that it is in sync with the flannel network in Windows
3 - Use strings different from "dummy" which confuses support people (understandably)

Types of Changes

Kind of bugfix

Verification

In the windows node, check /var/lib/network/cni/ and make sure there is no vxlan0 directory but only a flannel.4096. Then, verify that the reserved IP for kube-proxy (you can check it in the windows logs with "Reserved VIP for kube-proxy: $IP" is there and the content is:

kube-proxy
source-vip

Testing

Linked Issues

#5662

User-Facing Change


Further Comments

@manuelbuil manuelbuil requested a review from a team as a code owner April 2, 2024 16:36
@manuelbuil manuelbuil merged commit fe58cee into rancher:master Apr 3, 2024
2 checks passed
@manuelbuil manuelbuil deleted the smallFixWindows branch April 3, 2024 14:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants