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 do you find the cartridge short names in Openshift?
Openshift access to phpMyAdmin?
Openshift domain shows instead of desired domain
JDK 8 support at DIY cartridge in OpenShift
Openshift Multiple Domains Apps
Can I tweak Openshift's haproxy.cfg using a file in my scalable app's git repository?
Can't download CXF artifacts on JBossFuse running on OpenShift
How to avoid that my server restarts every time I commit something?
NodeJS in OpenShift EADDRINUSE Error
OpenShift custom domain not working for internal pages
Openshift node.js cartridge hooks are not run
deploy to openshift, got Error: Attempt to unlock async#*, which hasn't been locked
Error when pushing changes to openshift project
Maximum number of requests for free tariff on openshift
Openshift: 504 Gateway Time-out The server didn't respond in time
OpenShift deployment process fails after enabling JENKINS