OpenShift Resource Management Operations: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
 
(One intermediate revision by the same user not shown)
Line 15: Line 15:
  oc get quota -n <''project-name''>
  oc get quota -n <''project-name''>


=Information about an Individual Quota=
==Information about an Individual Quota==


  oc describe quota <''name''>
  oc describe quota <''name''>


=Creating a Resource Quota=
==Creating a Resource Quota==


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

Latest revision as of 18:07, 1 February 2018

Internal

Quota Operations

Get Quotas in a Project

For the current project:

oc get quota

For an arbitrary project

oc get quota -n <project-name>

Information about an Individual Quota

oc describe quota <name>

Creating a Resource Quota

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