Kubectl error: the object has been modified; please apply your changes to the latest version and try again

前端 未结 4 1127
北恋
北恋 2021-01-03 19:34

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         


        
4条回答
  •  悲哀的现实
    2021-01-03 20:27

    Give attention to put the last resourceVersion in your update, you can get it running:

    kubectl get deployment  -o yaml | grep resourceVersion
    

提交回复
热议问题