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

[usability] Refactor kubeadm.cfg usage #178

Open
leifmadsen opened this issue Feb 15, 2018 · 0 comments
Open

[usability] Refactor kubeadm.cfg usage #178

leifmadsen opened this issue Feb 15, 2018 · 0 comments

Comments

@leifmadsen
Copy link
Contributor

leifmadsen commented Feb 15, 2018

While working on another problem (#176), I realized I needed to add changes to kubeadm.cfg while instantiating a cluster. We already do this with the IPv6 deployment, and I can think of a few other things that would be nice to change here too.

I think there are 2 approaches here:

  1. Add a template with all the kubeadm options, and build it out with some defaults that can override
  2. Provide some standard files, but allow an override file to be provided

I'm not entirely sure how to do approach 2 right now (maybe create a new inventory directory where vms.generated.local will go, and provide some directories like group_vars/, etc? Not sure if we can do files/ and templates/ there, but I'd guess no). Approach 1 feels a bit more natural, although maybe slightly more cumbersome.

We'd want to make sure we're supported at least the IPv6 and control plane listen all functionality, and combine that in. Maybe it makes more sense if we provide examples of inventories for the vms.generated.local and some drop in variable files that would provide the configuration for IPv6, control plane all interfaces, etc.

We can get the current working kubeadm.cfg of a running cluster with the kubeadm config view command, per https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-config/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant