openshift-examples icon indicating copy to clipboard operation
openshift-examples copied to clipboard

kubectl apply vs kubectl update

Open debianmaster opened this issue 8 years ago • 0 comments

kubectl apply will look for any pending updates on object and carefully apply changes at the end while kubectl update will overwrite without caring about other processes working on same object. useful in scenarios where hpa and you are working on same object kubectl apply is preferred over edit/update

debianmaster avatar Nov 17 '17 23:11 debianmaster