Oc set

From NovaOrdis Knowledge Base
Revision as of 20:50, 28 November 2017 by Ovidiu (talk | contribs)
Jump to navigation Jump to search

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