-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Add IPv6 NAT #4952
Add IPv6 NAT #4952
Conversation
Signed-off-by: Roberto Bonafiglia <roberto.bonafiglia@gmail.com>
Signed-off-by: Roberto Bonafiglia <roberto.bonafiglia@gmail.com>
34f3714
to
111c166
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need to do anything in the Flannel subnet file, similar to the FLANNEL_IPMASQ
variable for IPv4 masq at
k3s/pkg/agent/flannel/flannel.go
Line 153 in effcb15
_, err = fmt.Fprintf(f, "FLANNEL_IPMASQ=%v\n", ipMasq) |
Signed-off-by: Roberto Bonafiglia <roberto.bonafiglia@gmail.com>
We do not need to add it because the current version of the flannel binary does not add any masquerading rules so we have to add them before. |
The error seems to be a flaky:
CI works in v1.22 and v1.21 |
Proposed Changes
Enable IPv6 NAT to the pod internet traffic. (It requires to use flannel-ipv6-masq flag on the server configuration)
Types of Changes
New Feature
Verification
Add
flannel-ipv6-masq: true
on the server configuration when IPv6 is enabled.Running
ip6tables-save | grep MASQUERADE
on any node of the cluster and the output should contain the masquerading rules like this:Linked Issues
#4683
User-Facing Change
Further Comments