create Autoscaling V2beta1Namespaced Horizontal Pod Autoscaler
POST {{baseUrl}}/apis/autoscaling/v2beta1/namespaces/:namespace/horizontalpodautoscalers?dryRun=<string>&fieldManager=<string>&pretty=<string>
create a HorizontalPodAutoscaler
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"=>"nulla ex aute", "creationTimestamp"=>"2003-01-02T02:22:34.328Z", "deletionGracePeriodSeconds"=>-75848643, "deletionTimestamp"=>"1988-11-28T09:19:22.324Z", "finalizers"=>["veniam offic", "non dolore ut nulla"], "generateName"=>"dolor", "generation"=>-87239892, "labels"=>{}, "managedFields"=>[{"apiVersion"=>"culpa officia", "fieldsType"=>"ea pariatur adipisicing Excepteur", "fieldsV1"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "manager"=>"in cillum", "operation"=>"dolore amet in cupidatat", "time"=>"1993-05-01T18:03:20.124Z"}, {"apiVersion"=>"velit", "fieldsType"=>"aliquip nostrud", "fieldsV1"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "manager"=>"ad nulla", "operation"=>"adipisicing officia", "time"=>"2009-03-27T00:30:00.247Z"}], "name"=>"consectetur amet sunt esse", "namespace"=>"aute", "ownerReferences"=>[{"apiVersion"=>"aliquip incidid", "kind"=>"culpa", "name"=>"quis adipisicing Lorem", "uid"=>"non pariatur dolore et", "blockOwnerDeletion"=>false, "controller"=>true}, {"apiVersion"=>"Duis cillum do amet", "kind"=>"esse voluptate velit", "name"=>"Ut elit consectetur dolor", "uid"=>"in dolor", "blockOwnerDeletion"=>true, "controller"=>true}], "resourceVersion"=>"sin", "selfLink"=>"adipisicing consequat laboris", "uid"=>"consequat cupidatat minim voluptate"}, "spec"=>{"scaleTargetRef"=>{"kind"=>"ea veniam tempor elit", "name"=>"reprehenderit", "apiVersion"=>"eiusmod in nisi s"}, "maxReplicas"=>77600672, "metrics"=>[{"type"=>"sint Lorem occaecat elit", "external"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "object"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "pods"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "resource"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, {"type"=>"deserunt", "external"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "object"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "pods"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "resource"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}], "minReplicas"=>41587460}, "status"=>{"currentReplicas"=>-57959613, "desiredReplicas"=>50351030, "conditions"=>[{"type"=>"et ut anim", "status"=>"Duis nisi pariatur exercitation", "lastTransitionTime"=>"1974-08-25T04:26:36.070Z", "message"=>"reprehenderit consequat ea", "reason"=>"magna ullamco id"}, {"type"=>"nulla deserunt ex fugiat", "status"=>"nulla", "lastTransitionTime"=>"1954-04-21T04:18:00.455Z", "message"=>"laboris irure", "reason"=>"dolore aliquip ipsum amet"}], "currentMetrics"=>[{"type"=>"proident tempor", "external"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "object"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "pods"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "resource"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, {"type"=>"consectetur laborum anim", "external"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "object"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "pods"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "resource"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}], "lastScaleTime"=>"2002-08-31T23:52:34.103Z", "observedGeneration"=>2024913}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
{"apiVersion":"\u003cstring\u003e","kind":"\u003cstring\u003e","metadata":{"annotations":{},"clusterName":"non Lorem in est","creationTimestamp":"2017-08-05T13:43:55.293Z","deletionGracePeriodSeconds":79407074,"deletionTimestamp":"1953-04-12T00:06:55.878Z","finalizers":["amet labor","in anim c"],"generateName":"dolor fugiat magna","generation":6449547,"labels":{},"managedFields":[{"apiVersion":"aliquip ea","fieldsType":"sit","fieldsV1":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"manager":"occaecat dolor","operation":"voluptate velit aliquip laboris Duis","time":"1972-04-27T04:30:32.603Z"},{"apiVersion":"voluptate id","fieldsType":"labore nulla est sunt","fieldsV1":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"manager":"Duis","operation":"Ut do id","time":"1951-08-16T15:04:33.661Z"}],"name":"aute","namespace":"in reprehenderit deserunt","ownerReferences":[{"apiVersion":"Duis non magna minim ex","kind":"aliquip dolore","name":"officia consectetur magna cupidatat","uid":"labore ut tempor non","blockOwnerDeletion":true,"controller":true},{"apiVersion":"laboris dolore ex","kind":"commodo id","name":"elit","uid":"magna laborum ut","blockOwnerDeletion":false,"controller":false}],"resourceVersion":"quis","selfLink":"laboris voluptate ut nost","uid":"dolor dolore id"},"spec":{"scaleTargetRef":{"kind":"cillum deserunt ut voluptate","name":"proident ea","apiVersion":"mollit"},"maxReplicas":93868024,"metrics":[{"type":"esse sunt","external":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"object":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"pods":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"resource":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},{"type":"amet cillum Ut","external":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"object":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"pods":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"resource":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}],"minReplicas":76848311},"status":{"currentReplicas":76854462,"desiredReplicas":-65960997,"conditions":[{"type":"aliquip nisi eu","status":"in in dolore fugiat","lastTransitionTime":"1987-07-28T12:56:08.322Z","message":"irure minim","reason":"nulla adipisicing dolore"},{"type":"ut","status":"eu in","lastTransitionTime":"1958-04-11T22:53:23.386Z","message":"esse deserunt qui","reason":"cillum consequat"}],"currentMetrics":[{"type":"Duis eiusmod","external":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"object":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"pods":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"resource":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},{"type":"ut pariatur","external":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"object":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"pods":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"resource":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}],"lastScaleTime":"2002-06-14T15:50:01.655Z","observedGeneration":30425933}}