kubernetes-sigs / kubespray

Deploy a Production Ready Kubernetes Cluster
Apache License 2.0
16.19k stars 6.48k forks source link

Discussion: expand `etcd_deployment_type: kubeadm` to eventually replace `etcd_deployment_type: docker` #11649

Open VannTen opened 1 month ago

VannTen commented 1 month ago

docker and kubeadm for etcd_deployment_type covers essentially the same goal: running etcd inside a container.

Right now, the kubeadm method is limited to run etcd on control-plane nodes (at least, according to the docs). However, I don't think there is any inherent blockers that prevent running on separate nodes, since kubelet can run standalone, without being part of the cluster.

The endgoal would be deprecating the docker option.

The expected benefits would be:

This would need 3/4 steps:

Wdyt ?

/kind feature /kind cleanup

tico88612 commented 4 weeks ago

Based on your description in #11039, the plan seems to deprecate the etcd_deployment_type variable itself rather than just the docker option of the etcd_deployment_type. I'm not sure if I understand correctly?

But shouldn't the etcd_deployment_type variable be deprecated?

VannTen commented 4 weeks ago

Nope, only the docker choice. I mentioned #11039 because this kind of stuff is a good usecase for it.