How to use oc patch to modify multiple fields
Issue
- I need to quickly update a DC with multiple changes
- I need to easily modify a resource in my OpenShift Cluster
- I want to programmatically modify a resource in OpenShift with a couple changes
- Multiple Deployments being triggered when trying to change multiple settings in a deployment config
Environment
- Red Hat OpenShift Container Platform
- 3.4 - 3.7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
