Oc create: Difference between revisions
Jump to navigation
Jump to search
Line 30: | Line 30: | ||
=Create a Service Account= | =Create a Service Account= | ||
{{Internal|OpenShift_Security_Operations#Create_a_New_Service_Account|Create a Service Account}} | |||
Revision as of 20:48, 18 October 2017
Internal
Overview
Creating a Resource Quota
oc create -f quota-def-file.json --namespace=my-project
Really? It sounds like creating the objects in specified in the file.
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.