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
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 objectkubectl apply
is preferred over edit/update