tutorial

In this guide, you will set up a Kubernetes cluster from scratch using Ansible and Kubeadm, and then deploy a containerized Nginx application to it. You will be able to use the cluster that you create in this tutorial in subsequent tutorials.

While the first tutorial in this curriculum introduces some of the concepts and terms that you will encounter when running an application in Kubernetes, this tutorial focuses on the steps required to build a working Kubernetes cluster.

This tutorial uses Ansible to automate some of the more repetitive tasks like user creation, dependency installation, and network setup in the cluster. If you would like to create a cluster manually, the tutorial provides a list of resources that includes the official Kubernetes documentation, which you can use instead of Ansible.

By the end of this tutorial you should have a functioning Kubernetes cluster that consists of three Nodes (a master and two worker Nodes). You will also deploy Nginx to the cluster to confirm that everything works as intended.