patch Apps V1Namespaced Stateful Set Scale

PATCH {{baseUrl}}/apis/apps/v1/namespaces/:namespace/statefulsets/:name/scale?dryRun=<string>&fieldManager=<string>&force=<boolean>&pretty=<string>

partially update scale of the specified StatefulSet

Request Params

KeyDatatypeRequiredDescription
dryRunstringWhen 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
fieldManagerstringfieldManager 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).
forcestringForce 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.
prettystringIf 'true', then the output is pretty printed.

Request Body

<object>

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: OK

{&quot;apiVersion&quot;:&quot;\u003cstring\u003e&quot;,&quot;kind&quot;:&quot;\u003cstring\u003e&quot;,&quot;metadata&quot;:{&quot;annotations&quot;:{},&quot;clusterName&quot;:&quot;nostrud sit&quot;,&quot;creationTimestamp&quot;:&quot;1988-07-29T20:17:40.661Z&quot;,&quot;deletionGracePeriodSeconds&quot;:95055213,&quot;deletionTimestamp&quot;:&quot;1943-07-20T00:44:10.960Z&quot;,&quot;finalizers&quot;:[&quot;reprehenderit commodo&quot;,&quot;veniam ea aliqua&quot;],&quot;generateName&quot;:&quot;nisi&quot;,&quot;generation&quot;:-59359076,&quot;labels&quot;:{},&quot;managedFields&quot;:[{&quot;apiVersion&quot;:&quot;proident ea nisi&quot;,&quot;fieldsType&quot;:&quot;dolor labore ea reprehenderit id&quot;,&quot;fieldsV1&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;manager&quot;:&quot;dolore in&quot;,&quot;operation&quot;:&quot;fugiat&quot;,&quot;time&quot;:&quot;1993-01-04T14:58:05.678Z&quot;},{&quot;apiVersion&quot;:&quot;qui no&quot;,&quot;fieldsType&quot;:&quot;ad&quot;,&quot;fieldsV1&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;manager&quot;:&quot;dolor elit&quot;,&quot;operation&quot;:&quot;cupidatat Duis laboris pariatur&quot;,&quot;time&quot;:&quot;1969-09-19T06:07:44.585Z&quot;}],&quot;name&quot;:&quot;esse&quot;,&quot;namespace&quot;:&quot;dolor sed dolore&quot;,&quot;ownerReferences&quot;:[{&quot;apiVersion&quot;:&quot;enim est pariatur&quot;,&quot;kind&quot;:&quot;reprehenderit anim dolore proident&quot;,&quot;name&quot;:&quot;exerci&quot;,&quot;uid&quot;:&quot;ad sint Duis reprehenderit&quot;,&quot;blockOwnerDeletion&quot;:false,&quot;controller&quot;:false},{&quot;apiVersion&quot;:&quot;incididunt veniam&quot;,&quot;kind&quot;:&quot;eiusmod&quot;,&quot;name&quot;:&quot;tempor qui consectetur Lorem&quot;,&quot;uid&quot;:&quot;dolor culpa magna Lorem&quot;,&quot;blockOwnerDeletion&quot;:true,&quot;controller&quot;:false}],&quot;resourceVersion&quot;:&quot;dolor minim veniam&quot;,&quot;selfLink&quot;:&quot;Ut laborum&quot;,&quot;uid&quot;:&quot;fugiat&quot;},&quot;spec&quot;:{&quot;replicas&quot;:154462},&quot;status&quot;:{&quot;replicas&quot;:-74915282,&quot;selector&quot;:&quot;cupidatat dolor exercitation pariatur elit&quot;}}