View all questions & answers for the CKA exam
Get list of all pods in all namespaces and write it to file “/opt/pods-list.yaml”
See the solution below.
kubectl get po –all-namespaces > /opt/pods-list.yaml
Submit