DCA Exam QuestionsBrowse all questions from this exam

DCA Exam - Question 44


Does this command display all the pods in the cluster that are labeled as ‘env: development’?

‘kubectl get pods --all-namespaces -l ‘env in (development)’ ’

Show Answer
Correct Answer:

Discussion

2 comments
Sign in to comment
bes_iOption: B
Aug 11, 2024

kubectl get pods --all-namespaces -l env=development

LightfoodOption: B
Aug 21, 2024

Correct answer is b