patch Core V1Namespaced Limit Range
PATCH {{baseUrl}}/api/v1/namespaces/:namespace/limitranges/:name?dryRun=<string>&fieldManager=<string>&force=<boolean>&pretty=<string>
partially update the specified LimitRange
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
dryRun | string | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | |
fieldManager | string | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | |
force | string | Force is going to "force" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | |
pretty | string | If 'true', then the output is pretty printed. |
Request Body
<object>
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
{"apiVersion":"\u003cstring\u003e","kind":"\u003cstring\u003e","metadata":{"annotations":{},"clusterName":"ad dolore","creationTimestamp":"2017-03-19T01:20:08.081Z","deletionGracePeriodSeconds":-87061663,"deletionTimestamp":"2019-06-22T12:03:05.405Z","finalizers":["magna reprehenderit anim in","cupidatat ex"],"generateName":"in","generation":-34226593,"labels":{},"managedFields":[{"apiVersion":"consectetur","fieldsType":"exercitation Ut magna","fieldsV1":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"manager":"ut labore anim tempor","operation":"labore nostrud cupidatat","time":"1947-06-26T14:53:10.913Z"},{"apiVersion":"ad dolore sit ea","fieldsType":"pa","fieldsV1":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"manager":"pariatur amet magna elit","operation":"labore pariatur magna sint minim","time":"1943-11-20T09:35:13.085Z"}],"name":"proident ut velit","namespace":"in eu ea ex","ownerReferences":[{"apiVersion":"in in","kind":"tempor minim labor","name":"mollit nulla","uid":"magna","blockOwnerDeletion":true,"controller":false},{"apiVersion":"consequat U","kind":"veniam consequat tempor Excepteur sed","name":"non","uid":"ad mollit occaecat","blockOwnerDeletion":false,"controller":true}],"resourceVersion":"do sunt ipsum Lorem dolor","selfLink":"ad magna ull","uid":"nostrud ut"},"spec":{"limits":[{"additionalProperties":{"$ref":"#/components/schemas/io.k8s.apimachinery.pkg.api.resource.Quantity"},"description":"Default resource requirement limit value by resource name if resource limit is omitted.","type":"object"},{"additionalProperties":{"$ref":"#/components/schemas/io.k8s.apimachinery.pkg.api.resource.Quantity"},"description":"Default resource requirement limit value by resource name if resource limit is omitted.","type":"object"}]}}