Sign inSign up free

107. Fix Pods Stuck in Pending

easy 10 XP ~6 minHands-on lab93.8% acceptance

The payouts Deployment in namespace audit was rolled out this morning and none of its Pods has started. The team copied its resource settings from a load-testing environment.

Task

  • All 3 replicas of Deployment payouts are running and available.
  • Its container requests 150m CPU and keeps its memory request of 256Mi.
  • Its container has a CPU limit of 1 and keeps its memory limit of 512Mi.
  • Deployment fraud-check in the same namespace is not changed.

A practice cluster is running on this machine: start with kubectl get pods -n audit.

About this machine

Ubuntu 24.04 with a private practice cluster: a real Kubernetes API server, scheduler and controllers, and three nodes (controlplane, node01, node02). Containers run in a lightweight runtime: their commands, kubectl logs, exec and run -it work, and Pods reach Services by name with wget or curl. Images never download, and port-forward isn't available. k is an alias for kubectl, with completion. The grader checks the cluster's final state, not the commands you typed.

Part of Kubernetes Core Concepts. Next step: Taints and Tolerations

Teaching or writing about this? Embed this lab on your page

TerminalNot started

Your machine is ready to start

A fresh machine with its own Kubernetes cluster starts in about half a minute, with the task already set up.

No account needed: 3 of 3 free tries left. Guest machines last 30 minutes.