Hi everyone, just have a question about recreating a pod from a pod that is alre . . .

Richard McGlory:
hi everyone, just have a question about recreating a pod from a pod that is already running.
When I use kubectl get po some-pod -o yaml > pod.yaml compared to the solution videos I get a lot of extra clutter (about a 100 lines or so). Is this due to a change in the api and there’s an extra option to reduced the clutter or is this something we have to deal with, I can’t find anything in the docs ?

Sergei Diachenko:
You can safety ignore additional lines.
The most of the extra lines is managed fields. If you are interested in you can read here about it: https://kubernetes.io/docs/reference/using-api/server-side-apply/#field-management
This feature was added in the output recently and the course videos were recorded before.

Richard McGlory:
thanks Sergei, much appreciated and cheers for the link. I definitely missed this in my search.