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

Add dual-stack support #337

Closed
amold1 opened this issue May 22, 2024 · 2 comments
Closed

Add dual-stack support #337

amold1 opened this issue May 22, 2024 · 2 comments
Labels
kind/feature New feature or request needs-priority Indicates an issue or PR needs a priority assigning to it needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one.

Comments

@amold1
Copy link

amold1 commented May 22, 2024

Describe the solution you'd like:
I would like to get cluster-api-provider-rke2 to provide dual-stack support.

Why do you want this feature:
From the docs in the old section, you could pass the cluster and service cidr to the config but looks like that is not supported anymore. The code
says this is not exposed so I am wondering how I can get dual-stack setup to work.
I am following this guide to get dual-stack to work with cilium.

Anything else you would like to add:
MyRKE2ControlPlane spec to add cidr

  serverConfig:
    clusterCidr: 10.192.0.0/10,fd02::/80
    serviceCidr: 10.96.0.0/12,fd03::/108

error on applying

Error from server (BadRequest): error when creating "STDIN": RKE2ControlPlane in version "v1alpha1" cannot be handled as a RKE2ControlPlane: strict decoding error: unknown field "spec.serverConfig.clusterCidr", unknown field "spec.serverConfig.serviceCidr"

If this is indeed already supported, I'd appreciate some guidance/documentation to help me out.

Thanks.

@amold1 amold1 added kind/feature New feature or request needs-priority Indicates an issue or PR needs a priority assigning to it needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. labels May 22, 2024
@greenmaid
Copy link

I would have the same expectation here. I'm trying to have a dual stack cluster using calico CNI.

It seems that currently capbr does not support multiple pod/service cidrs blocks and only takes only the first one configured

https://github.com/rancher-sandbox/cluster-api-provider-rke2/blob/07eef9b691dcec2d7b9458ef577e8758507a7396/pkg/rke2/config.go#L190-L199

@alexander-demicev
Copy link
Member

Closing it for now, we don't have the capacity to work on it.

@alexander-demicev alexander-demicev closed this as not planned Won't fix, can't repro, duplicate, stale Aug 27, 2024
simplysoft added a commit to simplysoft/cluster-api-provider-rke2 that referenced this issue Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature New feature or request needs-priority Indicates an issue or PR needs a priority assigning to it needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one.
Projects
None yet
Development

No branches or pull requests

3 participants