This lab provides practice scenarios to help prepare you for the Certified Kubernetes Administrator (CKA) Exam. You will be presented with tasks to complete, as well as server(s) and/or an existing Kubernetes cluster to complete them in. You will need to use your knowledge of Kubernetes, to successfully complete the provided tasks, much like you would on the real CKA exam. Good luck!
Learning Objectives
Successfully complete this lab by achieving the following learning objectives:
- Create a Multi-Container Pod
- Create a pod called
multi
in thebaz
namespace. Run two containers in this pod, with the following images (in order):nginx
redis
- Create a pod called
- Create a Pod Which Uses a Sidecar to Expose the Main Container’s Log File to `stdout`
- Create a pod called
logging-sidecar
in thebaz
namespace. - Run a container in this pod with the
busybox
image and the following command:sh -c while true; do echo Logging data > /output/output.log; sleep 5; done
. - Add a second container called
sidecar
to the pod which also uses thebusybox
image, and reads the output from the first container, as well as prints it to the container log (console).
- Create a pod called