- A Cloud Guru
Troubleshooting Kubernetes Scheduling
Scheduling is the process by which Kubernetes selects a Node to run a workload. This lab will allow you to get hands-on with Kubernetes scheduling by fixing a problem with a Deployment that isn’t scheduling properly.
Table of Contents
Locate a Deployment with Pods That Are Not Scheduling
Find which Deployment is the cluster is having scheduling issues. All of the Deployments that you will need to check are in the
You can look at the status Deployments and/or look directly the status of Pods in order to find the issue.
Fix the Issue So That the Pods Can Schedule
Identify why the Deplyoment's Pods are not scheduling and fix the issue.
Hint: You can use
kubectl describe pod <Pod name>to get more information on a Pod, including useful information about its scheduling.
To edit the deployment, you can use the
kubectl edit deployment <Deployment name>command, or you can use the appropriate Deployment manifest YAML file located in the home directory (
There may be multiple ways to fix this issue. Any method that gets the Deployment's Pods up and running is acceptable.
What's a lab?
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.