Below is the list of tasks that required for creating the Kubernetes Cluster on the Cloud.
-
Apply for the Oracle Cloud and using the free-tier (life time free) to create 3 Ubuntu Linux Machines using the Ampere CPUs
- First machine should be the Kubernetes Control plane with 2 CPU, 12G RAM and 50G Storage.
- 2nd and 3rd machines are the worker nodes with 1 CPU, 6G RAM and 75G Storage.
- Remember to put all machines in the same virtual network
- Generate the SSH key and put the public key to each machine. So you can have easy acess to all machines.
-
Install the Docker services in each Machine. You can refer to the link below
Setup Docker in Ubuntu -
Install the Kubernetes services in each Machine, with below link
How to Install Kubernetes Cluster on Ubuntu 22.04
Few Points to note:- You can skip the installation of the Dockers, as it had been done previously
- replace any CPU architecture (i.e. from amd64 to aarch64)
- After you installed the first machine, remember to add the firewall rule to allow port 6443. Add rule to iptables
-
Continue the installation steps mention in linuxtechi, which is to join the worker notes with the follow command and setup the network so that it can make those nodes to ready.
sudo kubeadm join k8smaster.example.net:6443 --token <token>
--discovery-token-ca-cert-hash <cert>**Don't worry about the
and as it will provided by the installation script from Kubernetes