Oc set: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 32: Line 32:


* [[OpenShift_Set_Up_a_Project-Collocated_jenkins-persistent-Based_Jenkins#Adjust_Readiness_Probe_Timeout|Adjust readiness probe timeout for Jenkins]]
* [[OpenShift_Set_Up_a_Project-Collocated_jenkins-persistent-Based_Jenkins#Adjust_Readiness_Probe_Timeout|Adjust readiness probe timeout for Jenkins]]
* [[OpenShift_Nexus#liveness_and_readiness_probe]]


=deployment-hook=
=deployment-hook=

Revision as of 01:19, 26 November 2017

Internal

Overview

The command changes existing application resources.

env

Sets environment variables in deployment configurations, build configurations, etc.

List:

oc set env <object> --list

Set:

oc set env <object> KEY_1=VAL_1 ...

Unset:

ec set env <object> KEY_1-

resources

oc set resources dc/jenkins --limits=memory=1Gi

volumes

probe

deployment-hook

image

build-secret

oc set build-secret --source bc/<build-configuration-name'> somesecret
Source Clone Secret

triggers

build-hook

route-backends