Oc set: Difference between revisions
Jump to navigation
Jump to search
(→env) |
(→env) |
||
Line 9: | Line 9: | ||
=env= | =env= | ||
Sets environment variables in deployment configurations, build configurations, etc. | Sets [[OpenShift_Concepts#Environment_Variables]] environment variables in deployment configurations, build configurations, etc. | ||
oc set env <''object''> KEY_1=VAL_1 ... | oc set env <''object''> KEY_1=VAL_1 ... |
Revision as of 23:07, 22 November 2017
Internal
Overview
The command changes existing application resources.
env
Sets OpenShift_Concepts#Environment_Variables environment variables in deployment configurations, build configurations, etc.
oc set env <object> KEY_1=VAL_1 ...
resources
oc set resources dc/jenkins --limits=memory=1Gi