Beginner’s Guide To Setup Kubernetes
Steps to install Kubernetes Cluster Requirements The major requirements are stated below regarding the setup process. Master: 2 GB RAM 2 Cores of CPU Slave/ Node: 1 GB RAM 1 Core of CPU 1.Install Kubernetes The below steps mentioned to be executed on both the master and node machines. Let’s call the master as ‘kmaster‘ and node as ‘knode‘. 1.1 Change to root: Here, the changing root has been applied because the sudo provides permission to set up Kubernetes and to avoid the permission process we have changed the root. $ sudo su # apt-get update This command used to update a system. 1.2 Turn Off Swap Space: Kubernetes doesn't support "swap". So we have to apply the below command to turn off the swap space. # swapoff -a 1.3 Fstab action After that, you need to open the ‘fstab’ file and comment out the line which has a mention of a swap partition. # nano /etc/fstab Press ‘ Ctrl+X ’, after that press ‘ Y ’ and then press ‘Enter’ to save the file. 1.4 Update The Hostnames ...