Valid DCA Dumps shared by ExamDiscuss.com for Helping Passing DCA Exam! ExamDiscuss.com now offer the newest DCA exam dumps, the ExamDiscuss.com DCA exam questions have been updated and answers have been corrected get the newest ExamDiscuss.com DCA dumps with Test Engine here:
Does this command display all the pods in the cluster that are labeled as env; development'? Solution. 'kubectl gel pods --all-namespaces -I 'env in (development)''
Correct Answer: B
Explanation The command kubectl gel pods --all-namespaces -l 'env in (development)' does not display all the pods in the cluster that are labeled as env: development. The command has two typos that prevent it from working correctly. First, the verb should be get instead of gel. Second, the label selector flag should be -l instead of -I1. The correct command should be kubectl get pods --all-namespaces -l 'env in (development)', which will list all the pods across all namespaces that have a label env with a value development2. References: * kubectl Cheat Sheet | Kubernetes * Labels and Selectors | Kubernetes