I am getting below error while trying to apply patch :
core@dgoutam22-1-coreos-5760 ~ $ kubectl apply -f ads-central-configuration.yaml
Warning: kubectl appl
you may have been edited the same exported deployment file..
1 - try to reexport it with:
kubectl get deployment -o yaml > deployment-file.yaml
2 - make the needed modifications in "deployment-file.yaml"
3 - apply the changes with:
kubectl apply -f deployment-file.yaml
OR:
you may want to edit the deployment directly.. use :
kubectl edit deployment
change the default editor if you aren't familiar with VI editor : export EDITOR=nano