Linux Foundation CKA Question Answer
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
TESTED 11 Jul 2025
Copyright © 2014-2025 ACE4Sure. All Rights Reserved