Notifications
Clear all
Topic starter
How would you return all the pod data in the json format using kubectl command?
- A . kubectl get pods -o json
B. kubectl get pods --all-namspaces
C. kubectl get pods -o wide
D. kubectl get pods -o jsonpath
Suggested Answer: A
Explanation:
https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#get
Explanation:
https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#get
Posted : 11/02/2023 8:42 pm