Install Kubernetes on Centos 7
Disable and stop firewall
1
2
3
4
5
| # Disable firewall service
systemctl disable firewalld
# Stop firewall service
systemctl stop firewalld
|
Install etcd and kubernetes
Install etcd and kubernetes and it will also install docker.
1
| yum install -y etcd kubernetes
|
Start service in order
1
2
3
4
5
6
7
| systemctl start etcd
systemctl start docker
systemctl start kube-apiserver
systemctl start kube-controller-manager
systemctl start kube-scheduler
systemctl start kubelet
systemctl start start kube-proxy
|