kubectl create quota <NAME>
Create a resourcequota with the specified name, hard limits and optional scopes
Arguments
Options
Name | Description |
---|
--allow-missing-template-keys | If true, ignore any errors in templates when a field or map key is missing in the template. Only applies to golang and jsonpath output formats |
--dry-run <Strategy> | Must be "none", "server", or "client". If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource |
-o, --output <Output Format> | Output format. One of: json|yaml|name|go-template|go-template-file|template|templatefile|jsonpath|jsonpath-file |
--template <arg> | Template string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview] |
--field-manager <arg> | Name of the manager used to track field ownership |
--hard <key=value (Comma delimited)> | A comma-delimited set of resource=quantity pairs that define a hard limit |
--save-config | If true, the configuration of current object will be saved in its annotation. Otherwise, the annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future |
--scopes <Scopes (Comma delimited)> | A comma-delimited set of quota scopes that must all match each object tracked by the quota |
--validate | If true, use a schema to validate the input before sending it |