# LimitRange

LimitRangeLimitRange sets resource usage limits for each kind of resource in a Namespace.apiVersion: v1import "k8s.io/api/core/v1"LimitRangeLimitRange sets resource usage limits for each kind of resource in a Namespace.apiVersion: v1kind: LimitRangemetadata (ObjectMeta)Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadataspec (LimitRangeSpec)Spec defines the limits enforced. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-statusLimitRangeSpecLimitRangeSpec defines a min/max usage limit for resources that match on kind.limits ([]LimitRangeItem), requiredAtomic: will be replaced during a mergeLimits 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), requiredType of resource that this limit applies to.limits.default (map[string]Quantity)Default resource requirement limit value by resource name if resource limit is omitted.limits.defaultRequest (map[string]Quantity)DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.limits.max (map[string]Quantity)Max usage constraints on this kind by resource name.limits.maxLimitRequestRatio (map[string]Quantity)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]Quantity)Min usage constraints on this kind by resource name.LimitRangeListLimitRangeList is a list of LimitRange items.apiVersion: v1kind: LimitRangeListmetadata (ListMeta)Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kindsitems ([]LimitRange), requiredItems is a list of LimitRange objects. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/Operationsget read the specified LimitRangeHTTP RequestGET /api/v1/namespaces/{namespace}/limitranges/{name}Parametersname (in path): string, requiredname of the LimitRangenamespace (in path): string, requirednamespacepretty (in query): stringprettyResponse200 (LimitRange): OK401: Unauthorizedlist list or watch objects of kind LimitRangeHTTP RequestGET /api/v1/namespaces/{namespace}/limitrangesParametersnamespace (in path): string, requirednamespaceallowWatchBookmarks (in query): booleanallowWatchBookmarkscontinue (in query): stringcontinuefieldSelector (in query): stringfieldSelectorlabelSelector (in query): stringlabelSelectorlimit (in query): integerlimitpretty (in query): stringprettyresourceVersion (in query): stringresourceVersionresourceVersionMatch (in query): stringresourceVersionMatchsendInitialEvents (in query): booleansendInitialEventstimeoutSeconds (in query): integertimeoutSecondswatch (in query): booleanwatchResponse200 (LimitRangeList): OK401: Unauthorizedlist list or watch objects of kind LimitRangeHTTP RequestGET /api/v1/limitrangesParametersallowWatchBookmarks (in query): booleanallowWatchBookmarkscontinue (in query): stringcontinuefieldSelector (in query): stringfieldSelectorlabelSelector (in query): stringlabelSelectorlimit (in query): integerlimitpretty (in query): stringprettyresourceVersion (in query): stringresourceVersionresourceVersionMatch (in query): stringresourceVersionMatchsendInitialEvents (in query): booleansendInitialEventstimeoutSeconds (in query): integertimeoutSecondswatch (in query): booleanwatchResponse200 (LimitRangeList): OK401: Unauthorizedcreate create a LimitRangeHTTP RequestPOST /api/v1/namespaces/{namespace}/limitrangesParametersnamespace (in path): string, requirednamespacebody: LimitRange, requireddryRun (in query): stringdryRunfieldManager (in query): stringfieldManagerfieldValidation (in query): stringfieldValidationpretty (in query): stringprettyResponse200 (LimitRange): OK201 (LimitRange): Created202 (LimitRange): Accepted401: Unauthorizedupdate replace the specified LimitRangeHTTP RequestPUT /api/v1/namespaces/{namespace}/limitranges/{name}Parametersname (in path): string, requiredname of the LimitRangenamespace (in path): string, requirednamespacebody: LimitRange, requireddryRun (in query): stringdryRunfieldManager (in query): stringfieldManagerfieldValidation (in query): stringfieldValidationpretty (in query): stringprettyResponse200 (LimitRange): OK201 (LimitRange): Created401: Unauthorizedpatch partially update the specified LimitRangeHTTP RequestPATCH /api/v1/namespaces/{namespace}/limitranges/{name}Parametersname (in path): string, requiredname of the LimitRangenamespace (in path): string, requirednamespacebody: Patch, requireddryRun (in query): stringdryRunfieldManager (in query): stringfieldManagerfieldValidation (in query): stringfieldValidationforce (in query): booleanforcepretty (in query): stringprettyResponse200 (LimitRange): OK201 (LimitRange): Created401: Unauthorizeddelete delete a LimitRangeHTTP RequestDELETE /api/v1/namespaces/{namespace}/limitranges/{name}Parametersname (in path): string, requiredname of the LimitRangenamespace (in path): string, requirednamespacebody: DeleteOptionsdryRun (in query): stringdryRungracePeriodSeconds (in query): integergracePeriodSecondsignoreStoreReadErrorWithClusterBreakingPotential (in query): booleanignoreStoreReadErrorWithClusterBreakingPotentialpretty (in query): stringprettypropagationPolicy (in query): stringpropagationPolicyResponse200 (Status): OK202 (Status): Accepted401: Unauthorizeddeletecollection delete collection of LimitRangeHTTP RequestDELETE /api/v1/namespaces/{namespace}/limitrangesParametersnamespace (in path): string, requirednamespacebody: DeleteOptionscontinue (in query): stringcontinuedryRun (in query): stringdryRunfieldSelector (in query): stringfieldSelectorgracePeriodSeconds (in query): integergracePeriodSecondsignoreStoreReadErrorWithClusterBreakingPotential (in query): booleanignoreStoreReadErrorWithClusterBreakingPotentiallabelSelector (in query): stringlabelSelectorlimit (in query): integerlimitpretty (in query): stringprettypropagationPolicy (in query): stringpropagationPolicyresourceVersion (in query): stringresourceVersionresourceVersionMatch (in query): stringresourceVersionMatchsendInitialEvents (in query): booleansendInitialEventstimeoutSeconds (in query): integertimeoutSecondsResponse200 (Status): OK401: UnauthorizedThis page is automatically generated.If you plan to report an issue with this page, mention that the page is auto-generated in your issue description. The fix may need to happen elsewhere in the Kubernetes project.