Quota, defaults and a stalled scale-up

  • 12 min
  • 5 steps
  • Scheduling and nodes

Steps

0 of 5 done

Find why a Deployment in a quota-bound namespace creates no pods, fix it with a LimitRange, then read and clear a quota ceiling.

  1. Step 1 of 5

    The api Deployment in team-a wants 3 replicas and has none, and there are no pods to describe. Find the error recorded when the pods were refused.

    Checked against what your commands print.

  2. Step 2, not started: defaults.yaml holds a LimitRange for team-a. Read it, apply it, and let the ReplicaSet create its three pods.

  3. Step 3, not started: The containers still declare no resources in the Deployment. Print the QoS class the api pods ended up with.

  4. Step 4, not started: Scale api to 6 replicas. Only some of the extra pods appear. Find the message that says which quota line stopped the rest.

  5. Step 5, not started: The team's request to raise its CPU-request ceiling to 3 cores was approved. Apply it to the compute quota and let all six replicas start.

Lab terminal

Cluster time 50 seconds
kind cluster kx, Kubernetes 1.37.
Each step is checked as you work.
​
Tab completes. Up and Down recall.
Type help for more.
Terminal keys

Enter runs the command. Tab completes, and the arrow keys recall earlier commands. Control C stops a watch. On an empty line, or after Escape, Tab moves focus out of the terminal.