02 - Labels and Selectors
Q: How many PODs exist in the dev environment (env)? ※ Use selectors to filter the output $ kubectl get pods --selector env=dev $ kubectl get pods --selector bu=finance --no-headers | wc -l $ kubectl get pods --show-labels=true Q: How many objects are in the prod environment including PODs, ReplicaSets and any other objects ? $ kubectl get all --selector env=prod $ kubectl get all --selector env=prod --no-headers | wc -l Q: Identify the POD which is part of the prod environment, the finance BU and of frontend tier? $ kubec...