can some one share the command to extract yaml from existing running pod , which contains just relevant info in brief
$kubectl get pod <podname> -o yaml > pod.yaml
i know this command, however this gives all other info too , say in a exam i just want to output relevant info in a temp yaml file and edit it … i do recollect in one of the lectures in CKA / CKAD in mumshad’s course. he did mention it… dont recollect it now.
Hey did you find out which lines to chop off? I could not find it either. I forgot what he mentioned?