What is the managedfield and all other f: ?
You can use the --dry-run=client flag to preview the object that would be sent to your cluster, without really submitting it.
How can I get yaml of resource that is already created ? Any feedback
V S Charan kumar Reddy Bakka:
kubectl get pod/deploy resource_name -o yaml > yaml.txt
Thankyou but doing so I got
Managedfield and other with f:
Do you also get those
kubectl get pod/deploy resource_name -o yaml | grep -v ‘f:’ > foo.yaml
the grep -v ‘f:’ will get rid of lines containing f: