Oc create: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
Line 10: Line 10:
oc create -f quota-def-file.son --namespace=my-project
oc create -f quota-def-file.son --namespace=my-project
</pre>
</pre>
=Create a S2I Build=
<pre>
oc new-app -o json ...
oc create -f .../s2i.json
</pre>
<tt>oc new-app</tt> should be used to create the build directly, this is the preferred approach.

Revision as of 01:48, 11 May 2017

Internal

Overview

Creating a Resource Quota

oc create -f quota-def-file.son --namespace=my-project

Create a S2I Build

oc new-app -o json ...
oc create -f .../s2i.json

oc new-app should be used to create the build directly, this is the preferred approach.