Oc create: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 9: Line 9:
<pre>
<pre>
oc create -f quota-def-file.json --namespace=my-project
oc create -f quota-def-file.json --namespace=my-project
</pre>
=Uploads a Template to the Project Template Library=
<pre>
oc create -f template-file.json
</pre>
</pre>



Revision as of 23:54, 11 May 2017

Internal

Overview

Creating a Resource Quota

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

Uploads a Template to the Project Template Library

oc create -f template-file.json

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.