You are viewing documentation for Kubernetes version: v1.23
Kubernetes v1.23 documentation is no longer actively maintained. The version you are currently viewing is a static snapshot. For up-to-date documentation, see the latest version.
Manage Kubernetes Objects
Use kubectl patch to update Kubernetes API objects in place. Do a strategic merge patch or a JSON merge patch.