Zuriar
Zuriar

Reputation: 11764

Does Kubernetes have the ability to spin up new nodes?

Does Kubernetes have the ability/need to hook into a cloud provider (AWS, Rackspace) to spin up new nodes? If so, how does it then provision the node - does it run Ansible etc? Or will Kubernetes need to have all the nodes available to it manually?

Upvotes: 2

Views: 1004

Answers (1)

Mark O'Connor
Mark O'Connor

Reputation: 78001

The short answer is no.

The longer answer is explained in the following blog posting that describes the new kubeadm command:

http://blog.kubernetes.io/2016/09/how-we-made-kubernetes-easy-to-install.html

There are three stages in setting up a Kubernetes cluster, and we decided to focus on the second two (to begin with):

  1. Provisioning: getting some machines
  2. Bootstrapping: installing Kubernetes on them and configuring certificates
  3. Add-ons: installing necessary cluster add-ons like DNS and monitoring services, a pod network, etc

We realized early on that there's enormous variety in the way that users want to provision their machines.

They use lots of different cloud providers, private clouds, bare metal, or even Raspberry Pi's, and almost always have their own preferred tools for automating provisioning machines: Terraform or CloudFormation, Chef, Puppet or Ansible, or even PXE booting bare metal. So we made an important decision: kubeadm would not provision machines. Instead, the only assumption it makes is that the user has some computers running Linux.


Update

Upvotes: 2

Related Questions