devops-exercises/topics/kubernetes/exercises/labels_and_selectors/exercise.md

11 lines
274 B
Markdown
Raw Permalink Normal View History

# Labels and Selectors 101
## Objectives
1. How to list all the Pods with the label "app=web"?
2. How to list all objects labeled as "env=staging"?
3. How to list all deployments from "env=prod" and "type=web"?
## Solution
Click [here](solution.md) to view the solution.