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

cilium does not respect k8s pod cidr #2839

Open
korncola opened this issue Oct 19, 2024 · 1 comment
Open

cilium does not respect k8s pod cidr #2839

korncola opened this issue Oct 19, 2024 · 1 comment
Labels
kind/feature New feature or request

Comments

@korncola
Copy link

cilium install does NOT respect k8s pod CIDR that was used to during cluster creation, instead it sits itself with 10.0.0.0/8 in the way of everything and breaks connectivity of the node as it creates routes on the nodes.

quote from installation docs:
It will automatically detect and use the best configuration possible for the Kubernetes distribution you are using.

One should safely assume this would mean the k8s pod CIDR is detected.

Ways to resolve:

  • detect k8s pod CIDR
  • document this behaviour and do not pretend setting up cilium is easy as cilium install
  • bonus points: easy argument as --pod-cidr for install command 👍
@korncola korncola added the kind/feature New feature or request label Oct 19, 2024
@joestringer
Copy link
Member

Hi @korncola, thanks for the feedback. Could you share which Kubernetes distribution you're using? It's possible that the autodetection just didn't properly take into account the configuration from that environment. Hopefully it's a relatively small change to fix that up and improve the experience for all users going forward.

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
Projects
None yet
Development

No branches or pull requests

2 participants