A busy shared namespace hosts many apps. How should an operator list only the 311 application Pods for monitoring?
Select an answer to reveal the explanation.
Short Explanation
Labels are name tags in a crowded hallway. Use kubectl get pods -l with the 311 app’s selector and you only see that team’s Pods. Scanning every namespace by eye—or deleting everything—isn’t monitoring.
Full Explanation
Label selectors with kubectl get -l restrict output to matching application Pods in busy namespaces. That is the standard CLI approach for focused monitoring. Node labels do not equal Pod app identity; deleting all Pods is destructive and not a filter.