title: Change Deployment config from shell
body: <p>I need to vary the deployment config of an application, by adding an extra YAML section within it (in the example the section name: <strong>ping</strong> and its two attributes)</p>
  
  <pre><code>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
  </code></pre>
  
  <p>Is it possible to do it from the <strong>oc</strong> shell command ?(without manually editing the file) A sort of adding an extra node to one section of the YAML ?</p>