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

ipv6 documentation #235

Open
Tejeev opened this issue Jul 13, 2024 · 2 comments
Open

ipv6 documentation #235

Tejeev opened this issue Jul 13, 2024 · 2 comments

Comments

@Tejeev
Copy link
Contributor

Tejeev commented Jul 13, 2024

IPV6 is becoming more and more important. Our customers are asking more questions about it and we should flesh out our docs on the subject. Here are some very loose findings from someone on our support team which were provided to a customer in an attempt to help. This should be doublechecked and fleshed out for a doc.

  • When configuring dual stack, ipv6 first then ipv4 does not work.
  • Switch the order, and things will start to work. This appears to be an upstream thing
  • Using ipv6 only is where the challenge is. Upstream Calico reports the steps to take in order to do this, but we haven't seen this actually work yet (possibly because we might not need the ingress anymore due to ipv4 routing. This is just a guess).
  • We also have some very limited notes in the RKE2 docs.
  • Here is a reddit post by user that said they got IPv6-Only working.
  • RKE2 supports IPv6, but Rancher does not.
  • There may be some complication with cattle-cluster-agent connecting to rancher-server pods over a dual stack network.
@brandond
Copy link
Member

When configuring dual stack, ipv6 first then ipv4 does not work.

This is supposed to work. Possibly fixed by k3s-io/k3s#10511

Fix IPv6 primary node-ip handling
The loadbalancer does not properly bind to the ipv6 loopback when the node has an ipv6 primary node ip, as the comma-separated flag value containing both IPs cannot be parsed as a valid ipv6 address.

Using ipv6 only is where the challenge is

This should also work as far as I know. What specifically is not working for you?

RKE2 supports IPv6, but Rancher does not.

Same question... what bits of rancher are you seeing that don't support ipv6? There were some bugs around ipv6 address handling in the past (specifically around properly encoding ipv6 address literals) but I thought they were resolved.

@flrichar
Copy link

flrichar commented Jul 29, 2024

I was able to mock-up most of the questions above in my lab. However, the dual-stack support relied heavily on things like the ingress controller and CNI. In regards to the documentation, perhaps we can add a blurb about the versions where that first bullet point was fixed in the 10511 issue.

I think situations where customers have ipv6-only networks are typically specialty networks, so factors like Rancher become moot, because everything Rancher touches would need to be dual-stack or ipv6-only (like Github). It might be moot because these specialty networks are probably air-gapped and/or have local private repos, etc, so those issues may be resolved by the environmental context.

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

No branches or pull requests

3 participants