replace Apps V1Namespaced Replica Set Scale
PUT {{baseUrl}}/apis/apps/v1/namespaces/:namespace/replicasets/:name/scale?dryRun=<string>&fieldManager=<string>&pretty=<string>
replace scale of the specified ReplicaSet
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. | |
pretty | string | If 'true', then the output is pretty printed. |
Request Body
{"apiVersion"=>"<string>", "kind"=>"<string>", "metadata"=>{"annotations"=>{}, "clusterName"=>"reprehenderit", "creationTimestamp"=>"1948-12-26T06:28:19.841Z", "deletionGracePeriodSeconds"=>59375143, "deletionTimestamp"=>"1987-06-29T16:34:21.185Z", "finalizers"=>["consectetur minim commodo", "amet ad commodo deserunt"], "generateName"=>"tempor culpa Excepteur id", "generation"=>77859836, "labels"=>{}, "managedFields"=>[{"apiVersion"=>"cupidatat irure", "fieldsType"=>"ipsum Duis laborum ut", "fieldsV1"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "manager"=>"Lorem dolore quis exercitation", "operation"=>"veniam nulla", "time"=>"1986-11-04T04:15:15.239Z"}, {"apiVersion"=>"in nulla veniam", "fieldsType"=>"incididunt ullamco non sed do", "fieldsV1"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "manager"=>"labore ipsum fugiat velit", "operation"=>"dolor", "time"=>"1958-10-26T23:40:57.116Z"}], "name"=>"ex eiusmod", "namespace"=>"ut laboris", "ownerReferences"=>[{"apiVersion"=>"fugiat aliquip", "kind"=>"minim ali", "name"=>"ut", "uid"=>"commodo aliqu", "blockOwnerDeletion"=>true, "controller"=>false}, {"apiVersion"=>"ex ut id adipisicing", "kind"=>"Ut", "name"=>"sint Ut ut", "uid"=>"officia non", "blockOwnerDeletion"=>true, "controller"=>false}], "resourceVersion"=>"ut elit", "selfLink"=>"exercitation", "uid"=>"aliqua reprehenderit magna"}, "spec"=>{"replicas"=>70784636}, "status"=>{"replicas"=>-56907301, "selector"=>"reprehend"}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
{"apiVersion":"\u003cstring\u003e","kind":"\u003cstring\u003e","metadata":{"annotations":{},"clusterName":"nostrud sit","creationTimestamp":"1988-07-29T20:17:40.661Z","deletionGracePeriodSeconds":95055213,"deletionTimestamp":"1943-07-20T00:44:10.960Z","finalizers":["reprehenderit commodo","veniam ea aliqua"],"generateName":"nisi","generation":-59359076,"labels":{},"managedFields":[{"apiVersion":"proident ea nisi","fieldsType":"dolor labore ea reprehenderit id","fieldsV1":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"manager":"dolore in","operation":"fugiat","time":"1993-01-04T14:58:05.678Z"},{"apiVersion":"qui no","fieldsType":"ad","fieldsV1":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"manager":"dolor elit","operation":"cupidatat Duis laboris pariatur","time":"1969-09-19T06:07:44.585Z"}],"name":"esse","namespace":"dolor sed dolore","ownerReferences":[{"apiVersion":"enim est pariatur","kind":"reprehenderit anim dolore proident","name":"exerci","uid":"ad sint Duis reprehenderit","blockOwnerDeletion":false,"controller":false},{"apiVersion":"incididunt veniam","kind":"eiusmod","name":"tempor qui consectetur Lorem","uid":"dolor culpa magna Lorem","blockOwnerDeletion":true,"controller":false}],"resourceVersion":"dolor minim veniam","selfLink":"Ut laborum","uid":"fugiat"},"spec":{"replicas":154462},"status":{"replicas":-74915282,"selector":"cupidatat dolor exercitation pariatur elit"}}