-
Notifications
You must be signed in to change notification settings - Fork 275
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
Support dual-stack in cni: canal #1883
Comments
After investigating, this is not possible to do as canal does not support dual-stack. The problem is with the ipam configuration:
in calico code, it uses the function https://github.com/projectcalico/cni-plugin/blob/v3.19.2/pkg/k8s/k8s.go#L894-L909 to fetch the ips and that one will only return one cidr. It should call getPodCidrs which will return a slice of cidrs. As the returned value is different, it will require some code changes |
@manuelbuil , @cwayne18 , Is this still undergoing development or still in the blocked in Development at the moment? |
This is blocked by upstream canal: https://github.com/projectcalico/cni-plugin/issues/1177. Once canal supports dual-stack, we will be able to support it in rke2. In the meanwhile, you'll need to use another cni plugin |
Replaced by this new issue #2342 |
Is your feature request related to a problem? Please describe.
It is currently not possible to deploy canal using dual-stack automatically
Describe the solution you'd like
When configuring the initial cluster-cidr and service-cidr with ipv4 and ipv6 addresses, I'd like canal to reflect that and deploy a dual-stack networking infra
Additional context
The text was updated successfully, but these errors were encountered: