Question 3: Find Pods first to be terminated
Identify Pods without resource requests set (BestEffort QoS) — the first candidates for eviction under resource pressure.
Check all available Pods in namespace project-c13 and find the names of
those that would probably be terminated first if the nodes run out of
resources (cpu or memory).
Write the Pod names into ~/pods-terminated-first.txt, one per
line.
Hint 1
Pods with no resource requests/limits set at all get the BestEffort QoS
class — those are evicted first under node pressure.
Hint 2
kubectl -n project-c13 get pod -o jsonpath='{range .items[*]}{.metadata.name} {.status.qosClass}{"\n"}{end}'
lists every Pod with its QoS class in one shot.
- Previous lesson
- Question 2: MinIO Operator, Helm Install
- Next lesson
- Question 4: Configure HPA Autoscaler