Premium Hands-on labintermediate
Orchestrating Containers on Kubernetes
In this lab, we start exploring how to orchestrate containers on Kubernetes with the Kubernetes API.
- 11 guided tasks

Scenario
Note: while you can deploy this lab on its own, it was originally designed to be part of this course and lesson. If you feel you are missing context, we recommend going through the course material.
This lab gives you two Ubuntu servers in AWS: a control-plane server and a worker node server. Both servers already have containerd, kubeadm, kubelet, and kubectl installed, but they aren't a Kubernetes cluster yet. You'll connect to both servers, finish the cluster setup, and then use the Kubernetes API to run a container and see how pods and kubectl authenticate to that API.
What you will learn
- Finish a Kubernetes cluster with kubeadm on a control-plane server and a worker node server
- Install the Calico network plugin and confirm that both nodes are Ready
- Create an nginx deployment from a manifest file
- Find the service account token that a pod uses to authenticate to the Kubernetes API
- Read the kubeconfig file that kubectl uses to authenticate