Premium Hands-on labintermediate
Kubernetes Security Concepts
In this lab, learn how to use a Kubectl proxy to communicate with the API, and learn how to create additional, non super-admin users by generating and combining config files. Finally, learn how to upgrade kubeadm.
- 13 guided tasks

Scenario
The lab gives you two new Ubuntu servers, a control plane server and a worker node, with containerd, kubeadm, kubelet and kubectl already installed. The default super-admin user has too much access for daily work, so you must create a user with lower access. You build the cluster, send requests to the API through a kubectl proxy, create the new user and switch to it, and then upgrade the control plane to a newer Kubernetes patch.
What you will learn
- Build a Kubernetes cluster with kubeadm on a control plane server and a worker node
- Send requests to the Kubernetes API through a kubectl proxy
- Create a non super-admin user with a new kubeconfig file
- Combine kubeconfig files and switch between contexts
- Upgrade the control plane to a newer Kubernetes patch with kubeadm