kubernetes-essentials

Kubernetes essentials

This course notes are WIP.

🎻 Linux Academy course for understanding the Kubernetes container orchestration tool.

Installation

Cluster architecture

For this lesson, it’s needed to spin up some servers for deploying our Kubernetes cluster. In this case, we are gonna need three servers where one of those would be the Master Node and the two other ones would be the Node 1 and Node 2.

Everyone of these three nodes must have the following requirements:

Also, apart from that, the Master node requires to have a Control Plane properly installed.

Installing Docker

A container runtime is the software that actually runs the containers. Kubernetes supports several other container runtimes (such as rkt and containerd) but Docker is the most popular. The first step in building our cluster is to install Docker on all three servers:

Installing Kubeadm, Kubelet, and Kubectl

The point of this subsection is to install the different and needed component of Kubernetes. Before that, let’s explain what are these components.

Once understood these three components, let’s install them on all three servers:

Bootstrapping the Cluster

In this section, we will bootstrap the cluster on the Kube master node. Then, we will join each of the two worker nodes to the cluster, forming an actual multi-node Kubernetes cluster.