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
All These machine are able to ping each other .
And swap memory of all these machine should be off.
Install docker on all VMs
Start docker and enable it.
Now Install the Kubectl commands on all VMs
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