replace Policy V1beta1Namespaced Pod Disruption Budget
PUT {{baseUrl}}/apis/policy/v1beta1/namespaces/:namespace/poddisruptionbudgets/:name?dryRun=<string>&fieldManager=<string>&pretty=<string>
replace the specified PodDisruptionBudget
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"=>"consectetur Duis reprehenderit", "creationTimestamp"=>"1985-04-22T13:59:52.318Z", "deletionGracePeriodSeconds"=>-23301301, "deletionTimestamp"=>"2017-02-12T01:07:00.986Z", "finalizers"=>["nostrud quis deserunt", "veniam elit id"], "generateName"=>"qui culpa", "generation"=>97537744, "labels"=>{}, "managedFields"=>[{"apiVersion"=>"qui est cillum ut ipsum", "fieldsType"=>"Lorem do", "fieldsV1"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "manager"=>"incididunt quis sint", "operation"=>"in in tempor dolore", "time"=>"2011-12-15T12:55:32.374Z"}, {"apiVersion"=>"Lorem in dolor", "fieldsType"=>"aliqua ea fugiat", "fieldsV1"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "manager"=>"incididunt ex dolor pariatur", "operation"=>"veniam nostrud eu", "time"=>"1973-08-21T21:02:36.911Z"}], "name"=>"dolore", "namespace"=>"nostrud sed mollit Excepteur deserunt", "ownerReferences"=>[{"apiVersion"=>"nulla", "kind"=>"ut se", "name"=>"sint reprehenderit", "uid"=>"pariatur sit", "blockOwnerDeletion"=>true, "controller"=>false}, {"apiVersion"=>"aliqua cillum do", "kind"=>"qui sunt", "name"=>"ad in aliqua exercitation nostrud", "uid"=>"ut", "blockOwnerDeletion"=>true, "controller"=>false}], "resourceVersion"=>"laboris", "selfLink"=>"minim cupidatat", "uid"=>"adipisicing nulla"}, "spec"=>{"maxUnavailable"=>"esse proident pariatur officia", "minAvailable"=>"irure anim cupidatat", "selector"=>{"matchExpressions"=>[{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, {"value"=>"<Error: Too many levels of nesting to fake this schema>"}], "matchLabels"=>{}}}, "status"=>{"disruptionsAllowed"=>99741346, "currentHealthy"=>42916803, "desiredHealthy"=>91663953, "expectedPods"=>87170171, "disruptedPods"=>{}, "observedGeneration"=>86835899}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: Created
{"apiVersion":"\u003cstring\u003e","kind":"\u003cstring\u003e","metadata":{"annotations":{},"clusterName":"sed aute proident tempor","creationTimestamp":"1958-06-23T21:22:27.875Z","deletionGracePeriodSeconds":-81400884,"deletionTimestamp":"1968-07-28T07:42:25.012Z","finalizers":["m","id eiusmod"],"generateName":"ullamco in reprehenderit velit nostrud","generation":-25038878,"labels":{},"managedFields":[{"apiVersion":"enim l","fieldsType":"exercitation est","fieldsV1":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"manager":"sit aliqua ad consequat","operation":"nisi laborum culpa eu","time":"2015-08-29T15:09:41.668Z"},{"apiVersion":"ut esse et Lorem","fieldsType":"et esse fugiat amet","fieldsV1":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"manager":"Lorem","operation":"sed pariatur commodo minim anim","time":"1948-09-27T22:38:33.348Z"}],"name":"commodo ex","namespace":"minim sed sunt dolor","ownerReferences":[{"apiVersion":"occaecat consectetur sed","kind":"veniam","name":"dolore irure fugiat","uid":"dolor cupidatat nostrud","blockOwnerDeletion":false,"controller":true},{"apiVersion":"laborum mollit anim eu","kind":"nost","name":"adipisicing dolor","uid":"esse exercitation ad deserunt id","blockOwnerDeletion":true,"controller":true}],"resourceVersion":"officia ipsum","selfLink":"cupidatat sed aliqua","uid":"cillum Ut cupidatat adipisicin"},"spec":{"maxUnavailable":"pariatur voluptate","minAvailable":"ut quis ipsum","selector":{"matchExpressions":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}],"matchLabels":{}}},"status":{"disruptionsAllowed":84976157,"currentHealthy":38129031,"desiredHealthy":-20197225,"expectedPods":59354607,"disruptedPods":{},"observedGeneration":-44511940}}