How can i extract existing deployment yaml without all the junk meta data that c . . .

sfds:
how can i extract existing deployment yaml
without all the junk meta data that comes with
k get deployment bla -o yaml

Hinodeya:
-o custom-columns

Hinodeya:
all informations here https://kubernetes.io/docs/reference/kubectl/cheatsheet/

SaidBen:
there is a plugin called ‘kubectl-neat’ that does that for you but you have set it up first. https://github.com/itaysk/kubectl-neat