2020-02-26 12:46:28 +00:00
|
|
|
# Comparison
|
2019-12-04 15:22:57 +00:00
|
|
|
|
|
|
|
## Kubespray vs [Kops](https://github.com/kubernetes/kops)
|
2017-01-05 13:52:51 +00:00
|
|
|
|
2017-06-16 17:25:46 +00:00
|
|
|
Kubespray runs on bare metal and most clouds, using Ansible as its substrate for
|
2017-01-05 13:52:51 +00:00
|
|
|
provisioning and orchestration. Kops performs the provisioning and orchestration
|
|
|
|
itself, and as such is less flexible in deployment platforms. For people with
|
|
|
|
familiarity with Ansible, existing Ansible deployments or the desire to run a
|
2017-06-16 17:25:46 +00:00
|
|
|
Kubernetes cluster across multiple platforms, Kubespray is a good choice. Kops,
|
2017-01-05 13:52:51 +00:00
|
|
|
however, is more tightly integrated with the unique features of the clouds it
|
|
|
|
supports so it could be a better choice if you know that you will only be using
|
|
|
|
one platform for the foreseeable future.
|
|
|
|
|
2019-12-04 15:22:57 +00:00
|
|
|
## Kubespray vs [Kubeadm](https://github.com/kubernetes/kubeadm)
|
2017-01-05 13:52:51 +00:00
|
|
|
|
|
|
|
Kubeadm provides domain Knowledge of Kubernetes clusters' life cycle
|
|
|
|
management, including self-hosted layouts, dynamic discovery services and so
|
2017-08-14 15:48:35 +00:00
|
|
|
on. Had it belonged to the new [operators world](https://coreos.com/blog/introducing-operators.html),
|
|
|
|
it may have been named a "Kubernetes cluster operator". Kubespray however,
|
2017-01-05 13:52:51 +00:00
|
|
|
does generic configuration management tasks from the "OS operators" ansible
|
|
|
|
world, plus some initial K8s clustering (with networking plugins included) and
|
2019-12-04 15:22:57 +00:00
|
|
|
control plane bootstrapping.
|
2019-03-26 10:51:19 +00:00
|
|
|
|
2019-12-04 15:22:57 +00:00
|
|
|
Kubespray supports `kubeadm` for cluster creation since v2.3
|
2019-03-26 10:51:19 +00:00
|
|
|
(and deprecated non-kubeadm deployment starting from v2.8)
|
|
|
|
in order to consume life cycle management domain knowledge from it
|
|
|
|
and offload generic OS configuration things from it, which hopefully benefits both sides.
|