Failures are inevitable when running large clusters. This Lab teaches you how to detect, diagnose, and remedy a variety of Kubernetes failures at the network, node, control-plane, and application levels. You will use tools included in Kubernetes, such as kubectl, as well as a variety of Linux operating system tools like systemctl, journalctl, ss, and openssl to build a comprehensive Kubernetes troubleshooting toolkit. In addition to reacting to failures, the Lab points out some ways that you can proactively reduce the chance of failures when working with Kubernetes.
This Lab is valuable to anyone working with Kubernetes, but the content has been prepared considering topics described in the Certified Kubernetes Administrator (CKA) Exam Curriculum. Completion of the Lab will help you get hands-on experience, which is essential for passing the CKA exam.
Upon completion of this Lab, you will be able to:
You should be familiar with:
The following Labs can be used to fulfill the prerequisites: Deploy a Stateless Application in a Kubernetes Cluster and Deploy a Stateful Application in a Kubernetes Cluster.
October 21st, 2022 - Updated the lab to use the Cloud Academy Web Terminal
October 19th, 2022 - Updated to run Kubernetes 1.24
October 19th, 2021 - Updated the lab instructions to use EC2 Instance Connect to connect to the bastion host
September 7th, 2021 - Update the Troubleshooting Kubernetes Cluster Access Issues certificate instructions and commentary
September 19th, 2020 - Updated to the latest Kubernetes version
August 28th, 2020 - Updated the SSH instructions to reflect the new EC2 user interface
May 29th, 2019 - Updated the monitoring to use Metrics Server, and increased the master node's instance size to accommodate the heftier requirements
January 10th, 2019 - Added a validation Lab Step to check the work you perform in the Lab