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
How can I get SSH hosts of gears (uid#host) in Openshift scalable app?
Why won't RHC tell me what all apps are available?
Accessing Hawtio Management Console with Openshift
How to add monit cartridge to OpenShift?
Size/File Limit for MySQL table with FULLTEXT index
Editing httpd.conf (openshift.conf) to create an apache Alias
Webapps just show blank page when deploying on OpenShift
Locked out of Ghost Blog on OpenShift
Start and stop action_hooks not firing in openshift online PHP 5.3
how to run flask based server locally before deploying to openshift
Possible to upgrade cartridges on OpenShift online?
openshift jersey not working
unable to deploy WAR file via git in openshift
Unable to login to Openshift
“No system SSH available” error on OpenShift rhc snapshot save on Windows 8
How do I get WordPress emails working on OpenShift?