Kubeadm and Kops

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

原文地址:https://www.cnblogs.com/edisonxiang/p/7833145.html