Kubernetes Installation (To be continued)
Nov 26, 2016
More details can be found from its official documentation: http://kubernetes.io/docs/getting-started-guides/
Installing Kubernetes on Linux with kubeadm
|: —- VMs —- :|: — Size — :|
| kub1 - CentOS 7 | 2 Cores 8 GB Mem |
| kub2 - CentOS 7 | 2 Cores 8 GB Mem |
| kub3 - CentOS 7 | 2 Cores 8 GB Mem |
(1/4) Installing kubelet and kubeadm on your hosts
You will install the following packages on all the machines:
- docker: the container runtime, which Kubernetes depends on. v1.11.2 is recommended, but v1.10.3 and v1.12.1 are known to work as well.
- kubelet: the most core component of Kubernetes. It runs on all of the machines in your cluster and does things like starting pods and containers.
- kubectl: the command to control the cluster once it’s running. You will only need this on the master, but it can be useful to have on the other nodes as well.
- kubeadm: the command to bootstrap the cluster.
tee -a /etc/hosts << '__EOF__'