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

Pod cidrs are not configurable in most ClusterStacks including openstack scs one #198

Open
Nils98Ar opened this issue Jan 31, 2025 · 0 comments

Comments

@Nils98Ar
Copy link
Member

Nils98Ar commented Jan 31, 2025

/kind bug

What steps did you take and what happened:

Currently the pod cidrs are not configurable in most ClusterStacks (except the Hetzner one as it seems).

The reason is that by default (ipam mode cluster-pool) cilium uses its own ipam settings for pods and does not respect the Cluster objects .spec.clusterNetwork.pods.cidrBlocks described in the docs:

We should either switch to ipam mode kubernetes and let cilium use the K8s ipam configuration as in the hetzner ClusterStack or we should make .spec.ipam.podCIDRs in the CiliumNode objects configurable via ClusterClass variable. Propably also configurable via cilium helm value ipam.operator.clusterPoolIPv4PodCIDRList in the ClusterAddon but I think the helm template happens before the ClusterClass templating/patching and therefore we cannot patch helm values this way?

We would also need to check how to deal with existing clusters.

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

1 participant