Kubeadm是Kubernetes官方推出的快速部署Kubernetes的集群工具,其思路是將Kubernetes相關服務容器化以簡化部署。
With the release of kubeadm and kops, however, this became significantly easier.
kops is a tool that fully automates the creation of a Kubernetes cluster (currently supported on AWS),
analogous to the way users of GKE are able to create one-click Kubernetes clusters.
In other words, kops handles infrastructure orchestration and installs all necessary software.
This isn’t, however, what every user requires.
For those desiring automation but also a certain level of flexibility, kubeadm is a far better option.
kubeadm does not (and will likely never) manage infrastructure provisioning,
but can easily be integrated into an orchestration tool. Most excitingly,
kubeadm promises to become more modular and incorporate features such as component updates.
As these changes come to fruition, users will have another mode by which they can have self-hosted Kubernetes clusters.
kubeadm would not provision machines. Instead, the only assumption it makes is that the user has some computers running Linux.
Kubeadm VS Kops
- kubeadm需要預安裝kubectl和kubelet,kops需要預安裝kubectl;
- kubeadm只負責在部署Kubenetes在computers running Linux,不負責infrastructure orchestration,kops負責infrastructure orchestration和Kubenetes orchestration;
- kubeadm以容器化的方式運行Kubernetes服務,kops以普通服務的方式運行Kubernetes;
- Integration with kubeadm kops now uses kubeadm for some RBAC related functionality;
Refers:
http://blog.kubernetes.io/2016/09/how-we-made-kubernetes-easy-to-install.html
http://blog.kubernetes.io/2017/01/stronger-foundation-for-creating-and-managing-kubernetes-clusters.html