Next, we have to turn off the swap space because Kubernetes will start throwing random errors otherwise. Note: After logging-in as ‘sudo’ user, note that your shell symbol will change to ‘#’ from ‘$’. Let’s call the the master as ‘ kmaster‘ and node as ‘ knode‘.įirst, login as ‘sudo’ user because the following set of commands need to be executed with ‘sudo’ permissions. The following steps have to be executed on both the master and node machines.
UBUNTU 16.04 INSTALL KUBERNETES CLUSTER INSTALL
Pre-Installation Steps On Both Master & Slave (To Install Kubernetes) So, I’l just get along with the installation process. Since we are dealing with VMs, we recommend the following settings for the VMs:-īy this point of time, I have assumed you have 2 plain Ubuntu VMs imported onto your Oracle Virtual Box. Starting the Kubernetes cluster from master.To install Kubernetes, you have to diligently follow the 3 phases that come as part of the installation process: If your installation fails at any time, then execute all the steps mentioned from the very beginning in a fresh VM, because debugging would take longer. Note : For this installation, we recommend a fresh Ubuntu 16.04 image since Kubernetes can take up a lot of resources. You can then replicate the same steps to deploy the Kubernetes cluster onto your prod. Here, one VM will act as the master and the other VM will be the node. This blog is a step by step guide to install Kubernetes on top of Ubuntu VMs (Virtual Machines). The first step towards Kubernetes Course is installing Kubernetes.