Hi team, Is it possible to output the pod information in a `yaml` format without . . .

Manuel:
Hi team, Is it possible to output the pod information in a yaml format without status and managedFields ?
Every time that I use the command kubectl get po xyz -o yaml > xyz.yaml I spend time removing not necessary fields.
How can I avoid or reduce this time process?

Tej_Singh_Rana:
Hello, @Manuel
In version 1.21, you will not see these fields anymore.

Manuel:
yes! but the exam is not using 1.21

Tej_Singh_Rana:
Please check the link below -
https://docs.linuxfoundation.org/tc-docs/certification/faq-cka-ckad-cks#what-application-version-is-running-in-the-exam-environment