How to get podCIDR to show up in the node spec?
eddiewang opened this issue · 1 comments
Hi there,
One of my kubernetes applications (squat/kilo#62) requires the podCIDR field to be added to the node spec. The Pod CIDR allocation is turned on in the controller-manager by default on most kubernetes distributions. This is enabled via --allocate-node-cidrs https://kubernetes.io/docs/reference/command-line-tools-reference/kube-controller-manager/#options
I was wondering if it was possible to expose that via my Gravity install?
Thanks
Hi Eddie!
We try to keep the github issue tracker focused on actionable features/bugs. I'd recommend using our community forums (https://community.gravitational.com/) or community slack (https://grv8.slack.com) for questions similar to this, and file a issue once it is clear exactly what needs to be done. If you'd like to continue the discussion, try one of those channels.
It looks like the way to turn --allocate-node-cidrs
on currently is with the "PLANET_DISABLE_FLANNEL" env variable.
Lines 830 to 838 in da6d238
Interestingly, we declare --allocate-node-cidrs
twice:
This definitely seems like a mistake and I'm not sure what the expected behavior is when the flag is declared twice.