![install kubernetes cluster on centos linuxacademy install kubernetes cluster on centos linuxacademy](https://miro.medium.com/max/1024/0*csjxErDEJrXggVKL.png)
Scheduler - Finds a suitable host where new pods will be reside.Replication Controller - Ensures the number of specified pod replicas are always running by starting or shutting down pods.
![install kubernetes cluster on centos linuxacademy install kubernetes cluster on centos linuxacademy](https://kubernetestutorials.com/wp-content/uploads/2020/09/How-to-Install-Kubernetes-on-CentOs.png)
#Install kubernetes cluster on centos linuxacademy install#
Step 5: Install CRI-O export VERSION=1.21 Sudo sed -i 's/^SELINUX=enforcing$/SELINUX=permissive/' /etc/selinux/config The settings applied above should open all the required ports for a node that acts as a control plane and a worker node.įor this tutorial, we will disable SELinux but you should leave it enabled and apply the correct configuration changes if you know what you are doind. Sudo firewall-cmd -zone=public -add-port=30000-32767/tcp -permanentĬheck the documentation to make sure the correct ports are open. Sudo firewall-cmd -zone=public -add-port=10252/tcp -permanent
![install kubernetes cluster on centos linuxacademy install kubernetes cluster on centos linuxacademy](https://cdn-images-1.medium.com/fit/t/1600/480/1*Szc0Nw9fmWbAfaBpZw2RSw.png)
Sudo firewall-cmd -zone=public -add-port=10251/tcp -permanent
![install kubernetes cluster on centos linuxacademy install kubernetes cluster on centos linuxacademy](https://www.tecmint.com/wp-content/uploads/2020/01/Join-Nodes-to-Kubernets-Cluster.png)
Sudo firewall-cmd -zone=public -add-port=10250/tcp -permanent Sudo firewall-cmd -zone=public -add-service=etcd-server -permanent Sudo firewall-cmd -zone=public -add-service=etcd-client -permanent sudo firewall-cmd -zone=public -add-service=kube-apiserver -permanent Run the following commands to open the required ports on the firewall. # Set up required sysctl params, these persist across reboots.Ĭat <