Oc set: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(→volume) |
||
Line 27: | Line 27: | ||
oc set resources dc/jenkins --limits=memory=1Gi | oc set resources dc/jenkins --limits=memory=1Gi | ||
= | =volumes= | ||
=probe= | =probe= |
Revision as of 04:30, 20 January 2018
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