SHORT INTRODUCTION
There are many ways to build a Kubernetes cluster. One of them is using a tool called adam. Kubeadm is the official tool for “Getting Started” when building your first Kubernetes cluster. With the ease of getting up and running, I wanted to put together this quick guide to installing the Kubernetes cluster using theadm!
At First, We Have 3 centOS machine
Master:- 192.168.33.11
Worker1:-192.168.33.12
Worker2:- 192.168.33.13
All These machine are able to ping each other .
And swap memory of all these machine should be off.
Install docker on all VMs
Add repo
Install docker
Start docker and enable it.
Now Install the Kubectl commands on all VMs
Stop Selinux
setenforce0
Install Kubeletkubeadmand kubectl On all Vms
Now enable kubectl
ON MASTER ONLY :-
To start using your cluster, you need to run the following as a regular user:
Now copy The token and connect the worker by kubeadm join command
Run kubectl get nodes on master ,it takes time to ready
No responses yet