I have a running etcd cluster with five members (Own etcd cluster for Kubernetes). How can I include this in the kubeadm init
command? My idea is that I generate the configuration, edit it manually and then run it. In theory, these are two commands, but I don't know exactly what they are.
You need to create a Kind
ClusterConfiguration
in which you need to add theetcd
config.Remember to replace following variables with values for your cluster:
Once done you can init those using
kubeadm init --config kubeadm-config.yaml --upload-certs
You can also have a look at Kubernetes The Hard Way.