Can i only init kubernetes cluster by kubespray?

7/12/2021

let's say I have a cluster installed via kubespray. I reseted cluster by kubeadm reset. Now i have to initialize cluster but i don't have access to images or packages or install binaries. I assume that everything is on my cluster machine. Is it possible to run kubespray with such tags or just some roles to init cluster and install apps from /etc/kubernetes , where are the yaml located

-- Cloud66
kubernetes
kubespray

1 Answer

7/12/2021

you can initiate your k8s cluster with kubeadmin. The command for that is kubeadm init.

more information on how to use kubeadm to initiate your cluster and which configuration options you might want to pass to the command can be found on the official k8s documentation

-- meaningqo
Source: StackOverflow