Change Deployment config from shell
I need to vary the deployment config of an application, by adding an extra YAML section within it (in the example the section name: ping and its two attributes) containers: - name: openshift-wf-cluster image: 172.30.1.1:5000/demo/openshift-wf#sha256:5d7e13e981f25b8933d54c8716d169fadf1c4b9c03468a5b6a7170492d5b9d93 ports: - containerPort: 8080 protocol: TCP - name: ping containerPort: 8888 protocol: TCP Is it possible to do it from the oc shell command ?(without manually editing the file) A sort of adding an extra node to one section of the YAML ?
Yes. oc edit dc/deployment-1-name
No Apps - Using 2 of 3 gears
Attempting to save a snapshot complains Application not found
Adding cron job in openshift without using git
openshift jetpack issue: request timed out
How to update “downloadable cartridge” in OpenShift online
Backup database when no more disk space
How to customize an openshift repo
View the log in WildFly Cartridges in OpenShift
Which action hooks are available for the wildfly cartridge on openshift?
App not coming up: SEVERE: Error listenerStart
how to install rpmrebuild in openshift for restricted user?
Openshift Online 503 Service Unavailable — site was working fine for days now has error
OpenShift Play Application Deployment websocket
Firewall management on OpenShift
OpenShift & SwiftMail email authentication on remote site only
Distributing $OPENSHIFT_DATA_DIR content on scalable app