Use kubectl patch to update Kubernetes API objects in place. Do a strategic merge patch or a JSON merge patch.
© 2022 The Kubernetes Authors
Documentation Distributed under CC BY 4.0.
https://kubernetes.io/docs/tasks/manage-kubernetes-objects/