Labels and Selectors 101
- How to list all the Pods with the label “app=web”?
- How to list all objects labeled as “env=staging”?
- How to list all deployments from “env=prod” and “type=web”?
k get po -l app=web
k get all -l env=staging
k get deploy -l env=prod,type=web