Install Kubernetes on CentOS7

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
Licensed under CC BY-NC-SA 4.0
Last updated on Nov 08, 2024 12:49 UTC
Built with Hugo
Theme Stack designed by Jimmy