Cheatsheet Pages / kubectl Cheatsheet
How to query resources by label — kubectl get pods -l
You want just the resources belonging to one app, selected by label, or several resource types at once.
Placeholders follow the cheatsheet: web is a deployment/pod name and app.yaml is your manifest. Most commands act on the current namespace — add -n <ns> to target another one.
kubectl get pods,svc,deploy # comma-separated types in one call
kubectl get pods -l app=web # filter by label selector
kubectl get all # common resources in the current ns (not literally everything)
