Oc set: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 9: Line 9:
=env=
=env=


Sets [[OpenShift_Concepts#Environment_Variables]] 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:08, 22 November 2017

Internal

Overview

The command changes existing application resources.

env

Sets 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

volumes

probe

deployment-hook

image

build-secret

triggers

build-hook

route-backends