Create Bootstrap-Token without kubeadm

6/8/2020

I would like to create a Bootstrap-Token to add a new node to the cluster. We are using a hosted kubernetes cluster and do not have any access to kubeadm, just to kubectl.

Is it possible to create a Bootstrap-Token and add a server as a node only with kubectl?

-- P. Lange
kubectl
kubernetes

1 Answer

6/8/2020

From the docs here it's possible to perform TLS bootstrapping of kubelet in a worker node and join the worker node to the kubernetes cluster. This process is automated in kubeadm. You need to have access to the certificate authority ca.key and ca.pem used on the master nodes and use those to generate certificates. But in a hosted kubernetes cluster you probably don't have access to the certificate authority.

-- Arghya Sadhu
Source: StackOverflow