Oc set: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
Line 27: Line 27:
  oc set resources dc/jenkins --limits=memory=1Gi
  oc set resources dc/jenkins --limits=memory=1Gi


=<span id='volumes'><span>volume=
=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
Source Clone Secret

triggers

build-hook

route-backends