Exam4Training

List the nginx pod with custom columns POD_NAME and POD_STATUS

List the nginx pod with custom columns POD_NAME and POD_STATUS
A . Solution:
kubectl get po -o=custom-columns="POD_NAME:.metadata.name,
POD_STATUS:.status.containerStatuses[].state"

Answer: A

Latest CKA Dumps Valid Version with 122 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Exit mobile version