I Malla:
What is the managedfield and all other f: ?
Mohamed Ayman:
You can use the --dry-run=client flag to preview the object that would be sent to your cluster, without really submitting it.
I Malla:
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
I Malla:
Thankyou but doing so I got
Managedfield and other with f:
I Malla:
Do you also get those
Karim Meslem:
kubectl get pod/deploy resource_name -o yaml | grep -v ‘f:’ > foo.yaml
the grep -v ‘f:’ will get rid of lines containing f:
I Malla:
Thank you