QuestionQ261

VerifiedKubernetes Fundamentals

A Kubernetes node is running on hardware scheduled for maintenance. How can the Pods assigned to that node be identified so workloads can be redirected before the node is removed from service?

Explanation

The wide output of kubectl get pods includes the node name for each Pod, and --all-namespaces ensures that Pods outside the current namespace are included. Filtering that listing by the maintenance node identifies the affected workloads.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!