2017-06-17 01:25:46 +08:00
|
|
|
Kubespray vs [Kops](https://github.com/kubernetes/kops)
|
2016-12-30 03:41:11 +08:00
|
|
|
---------------
|
2017-01-05 21:52:51 +08:00
|
|
|
|
2017-06-17 01:25:46 +08:00
|
|
|
Kubespray runs on bare metal and most clouds, using Ansible as its substrate for
|
2017-01-05 21:52:51 +08: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-17 01:25:46 +08:00
|
|
|
Kubernetes cluster across multiple platforms, Kubespray is a good choice. Kops,
|
2017-01-05 21:52:51 +08: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.
|
|
|
|
|
2017-06-17 01:25:46 +08:00
|
|
|
Kubespray vs [Kubeadm](https://github.com/kubernetes/kubeadm)
|
2017-01-05 21:52:51 +08:00
|
|
|
------------------
|
|
|
|
|
|
|
|
Kubeadm provides domain Knowledge of Kubernetes clusters' life cycle
|
|
|
|
management, including self-hosted layouts, dynamic discovery services and so
|
|
|
|
on. Had it belong to the new [operators world](https://coreos.com/blog/introducing-operators.html),
|
2017-06-17 01:25:46 +08:00
|
|
|
it would've likely been named a "Kubernetes cluster operator". Kubespray however,
|
2017-01-05 21:52:51 +08:00
|
|
|
does generic configuration management tasks from the "OS operators" ansible
|
|
|
|
world, plus some initial K8s clustering (with networking plugins included) and
|
2017-06-17 01:25:46 +08:00
|
|
|
control plane bootstrapping. Kubespray [strives](https://github.com/kubernetes-incubator/kubespray/issues/553)
|
2017-01-05 21:52:51 +08:00
|
|
|
to adopt kubeadm as a tool in order to consume life cycle management domain
|
|
|
|
knowledge from it and offload generic OS configuration things from it, which
|
|
|
|
hopefully benefits both sides.
|