Oc set: Difference between revisions
Jump to navigation
Jump to search
(→probe) |
No edit summary |
||
Line 31: | Line 31: | ||
=probe= | =probe= | ||
* [[ | * [[OpenShift CI/CD Operations - Collocated Persistent Jenkins Set Up#Adjust_Readiness_Probe_Timeout|Adjust readiness probe timeout for Jenkins]] | ||
* [[OpenShift_Nexus#liveness_and_readiness_probe|Set up liveness and readiness probes for Nexus]] | * [[OpenShift_Nexus#liveness_and_readiness_probe|Set up liveness and readiness probes for Nexus]] | ||
Revision as of 20:50, 28 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