LimitRange
apiVersion: v1
import "k8s.io/api/core/v1"
LimitRange
LimitRange sets resource usage limits for each kind of resource in a Namespace.
LimitRangeSpec
LimitRangeSpec defines a min/max usage limit for resources that match on kind.
-
limits ([]LimitRangeItem), required
Limits is the list of LimitRangeItem objects that are enforced.
LimitRangeItem defines a min/max usage limit for any resource that matches on kind.
-
limits.type (string), required
Type of resource that this limit applies to.
Possible enum values:
"Container"
Limit that applies to all containers in a namespace"PersistentVolumeClaim"
Limit that applies to all persistent volume claims in a namespace"Pod"
Limit that applies to all pods in a namespace
-
limits.default (map[string]
Default resource requirement limit value by resource name if resource limit is omitted.
-
limits.defaultRequest (map[string]
DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.
-
limits.max (map[string]
Max usage constraints on this kind by resource name.
-
limits.maxLimitRequestRatio (map[string]
MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource.
-
limits.min (map[string]
Min usage constraints on this kind by resource name.
-
LimitRangeList
LimitRangeList is a list of LimitRange items.
-
apiVersion: v1
-
kind: LimitRangeList
-
items ([]
Items is a list of LimitRange objects. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
Operations
get
read the specified LimitRange
HTTP Request
GET /api/v1/namespaces/{namespace}/limitranges/{name}
Parameters
-
name (in path): string, required
name of the LimitRange
-
namespace (in path): string, required
-
pretty (in query): string
Response
200 (
401: Unauthorized GET /api/v1/namespaces/{namespace}/limitranges namespace (in path): string, required allowWatchBookmarks (in query): boolean continue (in query): string fieldSelector (in query): string labelSelector (in query): string limit (in query): integer pretty (in query): string resourceVersion (in query): string resourceVersionMatch (in query): string timeoutSeconds (in query): integer watch (in query): boolean 200 (
401: Unauthorized GET /api/v1/limitranges allowWatchBookmarks (in query): boolean continue (in query): string fieldSelector (in query): string labelSelector (in query): string limit (in query): integer pretty (in query): string resourceVersion (in query): string resourceVersionMatch (in query): string timeoutSeconds (in query): integer watch (in query): boolean 200 (
401: Unauthorized POST /api/v1/namespaces/{namespace}/limitranges namespace (in path): string, required dryRun (in query): string fieldManager (in query): string fieldValidation (in query): string pretty (in query): string 200 (
201 (
202 (
401: Unauthorized PUT /api/v1/namespaces/{namespace}/limitranges/{name} name (in path): string, required name of the LimitRange namespace (in path): string, required dryRun (in query): string fieldManager (in query): string fieldValidation (in query): string pretty (in query): string 200 (
201 (
401: Unauthorized PATCH /api/v1/namespaces/{namespace}/limitranges/{name} name (in path): string, required name of the LimitRange namespace (in path): string, required dryRun (in query): string fieldManager (in query): string fieldValidation (in query): string force (in query): boolean pretty (in query): string 200 (
201 (
401: Unauthorized DELETE /api/v1/namespaces/{namespace}/limitranges/{name} name (in path): string, required name of the LimitRange namespace (in path): string, required dryRun (in query): string gracePeriodSeconds (in query): integer pretty (in query): string propagationPolicy (in query): string 200 (
202 (
401: Unauthorized DELETE /api/v1/namespaces/{namespace}/limitranges namespace (in path): string, required continue (in query): string dryRun (in query): string fieldSelector (in query): string gracePeriodSeconds (in query): integer labelSelector (in query): string limit (in query): integer pretty (in query): string propagationPolicy (in query): string resourceVersion (in query): string resourceVersionMatch (in query): string timeoutSeconds (in query): integer 200 (
401: Unauthorizedlist
list or watch objects of kind LimitRangeHTTP Request
Parameters
Response
list
list or watch objects of kind LimitRangeHTTP Request
Parameters
Response
create
create a LimitRangeHTTP Request
Parameters
Response
update
replace the specified LimitRangeHTTP Request
Parameters
Response
patch
partially update the specified LimitRangeHTTP Request
Parameters
Response
delete
delete a LimitRangeHTTP Request
Parameters
Response
deletecollection
delete collection of LimitRangeHTTP Request
Parameters
Response