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

kubeadm feature flags #35133

Closed
bogdando opened this issue Oct 19, 2016 · 7 comments
Closed

kubeadm feature flags #35133

bogdando opened this issue Oct 19, 2016 · 7 comments

Comments

@bogdando
Copy link

bogdando commented Oct 19, 2016

FEATURE REQUEST:

Add runtime/config feature flags for granular control of kubeadm init tasks. Like:

  • etcd clustering,
  • certs management,
  • container images pulling,
  • configs generation,
  • static pods definitions for system components,
  • essential addons installation.

Use case:
One may want to use hyperkube and do not pull images for apiserver and other components.
Or one may want to only run certs management tasks, or only re-generate configs or static manifests pods or only install addons. Having feature flags eases idempotent runs, co-existing with external CM systems like ansible or puppet and integration testing efforts a lot.

The feature flags, either CLI or config file based, should ease integration efforts and make the tool more flexible as well.

Related feature #11

Kubernetes version (use kubectl version): next

Environment:

  • Cloud provider or hardware configuration: any
  • OS (e.g. from /etc/os-release): any
  • Kernel (e.g. uname -a): any
  • Install tools: n/a
  • Others: n/a
@lukemarsden
Copy link
Contributor

Thank you for this @bogdando! We definitely want to make kubeadm support your use-case in kargo. We have just merged support for kubeadm init to read config from a file which will make it easier to add this level of granular control without making the user-facing CLI totally insane. I'll add discussion of this topic to the next SIG-cluster-lifecycle meeting next Tuesday at 9am, could you join that?

@bogdando
Copy link
Author

@lukemarsden thank you, I will

@bogdando
Copy link
Author

Also note that while being configurable is very nice to have, runtime flags must allow to specify which steps a user wants the kubeadm init do for him and which do not

@bogdando
Copy link
Author

This is now tracked as kubernetes/enhancements#138

@pires
Copy link
Contributor

pires commented Oct 27, 2016

Just to add to what Luke said, there's file configuration support for kubeadm join as well.

@bogdando bogdando reopened this Oct 28, 2016
@bogdando
Copy link
Author

Reopened as there is yet another optional place to track it

@mikedanese
Copy link
Member

This issue was moved to kubernetes/kubeadm#22

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

6 participants