hands-on lab

Troubleshooting Kubernetes: Application Failures

Difficulty: Advanced
Duration: Up to 30 minutes
Students: 661
Rating: 4.5/5
Get guided in a real environmentPractice with a step-by-step scenario in a real, provisioned environment.
Learn and validateUse validations to check your solutions every step of the way.
See resultsTrack your knowledge and monitor your progress.

Description

Application failures are inevitable when running large clusters. This Lab teaches you how to detect, diagnose, and remedy Kubernetes application failures. You will use tools included in Kubernetes, such as kubectl, as well as a variety of Linux operating system tools like cp, cat, and top 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.

Lab Objectives

Upon completion of this Lab, you will be able to:

  • Troubleshoot Kubernetes application failures

Lab Prerequisites

You should be familiar with:

  • Working with Kubernetes to deploy applications
  • Working with kubectl
  • Working at the command line in Linux

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

Updates

July 13th, 2024 - Updated cluster to Kubernetes 1.30
October 13th, 2023 - Updated Kubernetes to 1.28
June 13th, 2023 - Updated Kubernetes version

 

Environment before

Environment after

Covered topics

Lab steps

Connecting to the K8s Cluster
Troubleshooting Kubernetes Applications