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 join: Added support for config file. #34885
kubeadm join: Added support for config file. #34885
Conversation
@pires Have you tested it manually and verified that it works? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This LGTM
If @errordeveloper or @mikedanese could take a very quick look now over the weekend, it would be nice
LGTM, this doesn't work yet, but I'll follow it up so it works for both init and join eventually |
@k8s-bot test this [submit-queue is verifying that this PR is safe to merge] |
Can you explain why it doesn't work? Why don't we just fix it? |
@mikedanese Because I meant that Can you reapply the lgtm label? |
Ok please give details when you say stuff like that in the future. |
Yep, actually I wasn't 100% sure what the root cause was 30 mins ago, but I knew I needed this change which just duplicates the code that is for kubeadm init now |
Automatic merge from submit-queue |
Automatic merge from submit-queue Register the kubeadm api group in cmd/kubeadm Fixes the issue mentioned in: #34885 (comment) My test config: ```yaml apiVersion: kubeadm.k8s.io/v1alpha1 kind: MasterConfiguration kubernetesVersion: v1.4.2 networking: podSubnet: 10.244.0.0/16 dnsDomain: k8s.somecompany.com serviceSubnet: 10.16.0.0/12 api: externalDNSNames: - myawesomek8snode secrets: givenToken: 92f7e2.3685fe2e01f799f3 ``` ```console # kubeadm init --config kubeadm.yaml ``` @kubernetes/sig-cluster-lifecycle
As more behavior (#34719, #34807, fix for #33641) is added to
kubeadm join
, this will be eventually very much needed. Makes sense to go in sooner rather than later.Also references #34501 and #34884.
/cc @luxas @mikedanese
This change is