- Lab
- 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.
Path Info
Table of Contents
-
Challenge
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
default
Namespace.You can look at the status Deployments and/or look directly the status of Pods in order to find the issue.
-
Challenge
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 (/home/cloud_user
).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.
Provided environment for hands-on practice
We will provide the credentials and environment necessary for you to practice right within your browser.
Guided walkthrough
Follow along with the author’s guided walkthrough and build something new in your provided environment!
Did you know?
On average, you retain 75% more of your learning if you get time for practice.