create Core V1Namespaced Pod Eviction

POST {{baseUrl}}/api/v1/namespaces/:namespace/pods/:name/eviction?dryRun=<string>&fieldManager=<string>&pretty=<string>

create eviction of a Pod

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.
prettystringIf 'true', then the output is pretty printed.

Request Body

{"apiVersion"=>"<string>", "deleteOptions"=>{"apiVersion"=>"<string>", "dryRun"=>["<string>", "<string>"], "gracePeriodSeconds"=>"<long>", "kind"=>"<string>", "orphanDependents"=>"<boolean>", "preconditions"=>{"resourceVersion"=>"<string>", "uid"=>"<string>"}, "propagationPolicy"=>"<string>"}, "kind"=>"<string>", "metadata"=>{"annotations"=>{}, "clusterName"=>"magna amet commodo est", "creationTimestamp"=>"1954-05-27T09:28:30.092Z", "deletionGracePeriodSeconds"=>-92894397, "deletionTimestamp"=>"1996-05-07T11:59:25.864Z", "finalizers"=>["sint consequat ea fugiat", "sed pariatur proident dolore"], "generateName"=>"esse", "generation"=>-68844466, "labels"=>{}, "managedFields"=>[{"apiVersion"=>"dolor sint et", "fieldsType"=>"nostrud", "fieldsV1"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "manager"=>"in aliquip inci", "operation"=>"eu ex Lorem velit veniam", "time"=>"1964-10-04T19:37:24.449Z"}, {"apiVersion"=>"voluptate ea d", "fieldsType"=>"deserunt minim", "fieldsV1"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "manager"=>"Lorem velit amet commodo nulla", "operation"=>"ipsum commodo sint Ut", "time"=>"1942-10-04T02:53:15.212Z"}], "name"=>"quis do", "namespace"=>"et", "ownerReferences"=>[{"apiVersion"=>"sunt dolor ex exercitation ullamco", "kind"=>"irure ipsum", "name"=>"nostrud", "uid"=>"Lorem voluptate irure magna", "blockOwnerDeletion"=>true, "controller"=>false}, {"apiVersion"=>"mollit sunt quis dolore", "kind"=>"Lorem dolore", "name"=>"d", "uid"=>"adipisicing c", "blockOwnerDeletion"=>false, "controller"=>true}], "resourceVersion"=>"pariatur commodo ut aliquip", "selfLink"=>"minim culpa est", "uid"=>"pariatur deserunt labore officia elit"}}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: OK

{&quot;apiVersion&quot;:&quot;\u003cstring\u003e&quot;,&quot;deleteOptions&quot;:{&quot;apiVersion&quot;:&quot;\u003cstring\u003e&quot;,&quot;dryRun&quot;:[&quot;\u003cstring\u003e&quot;,&quot;\u003cstring\u003e&quot;],&quot;gracePeriodSeconds&quot;:&quot;\u003clong\u003e&quot;,&quot;kind&quot;:&quot;\u003cstring\u003e&quot;,&quot;orphanDependents&quot;:&quot;\u003cboolean\u003e&quot;,&quot;preconditions&quot;:{&quot;resourceVersion&quot;:&quot;\u003cstring\u003e&quot;,&quot;uid&quot;:&quot;\u003cstring\u003e&quot;},&quot;propagationPolicy&quot;:&quot;\u003cstring\u003e&quot;},&quot;kind&quot;:&quot;\u003cstring\u003e&quot;,&quot;metadata&quot;:{&quot;annotations&quot;:{},&quot;clusterName&quot;:&quot;enim incididunt esse sit in&quot;,&quot;creationTimestamp&quot;:&quot;1988-01-12T06:09:25.443Z&quot;,&quot;deletionGracePeriodSeconds&quot;:-51132432,&quot;deletionTimestamp&quot;:&quot;1988-01-18T04:10:14.059Z&quot;,&quot;finalizers&quot;:[&quot;labore sit fugiat dolor&quot;,&quot;cillum mollit dolore nisi&quot;],&quot;generateName&quot;:&quot;Lorem dolor consequat veniam&quot;,&quot;generation&quot;:-95591458,&quot;labels&quot;:{},&quot;managedFields&quot;:[{&quot;apiVersion&quot;:&quot;Duis sint et&quot;,&quot;fieldsType&quot;:&quot;deserunt in labore dolore officia&quot;,&quot;fieldsV1&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;manager&quot;:&quot;exercitation&quot;,&quot;operation&quot;:&quot;sit voluptate ut&quot;,&quot;time&quot;:&quot;1967-12-05T11:57:31.916Z&quot;},{&quot;apiVersion&quot;:&quot;quis id&quot;,&quot;fieldsType&quot;:&quot;culpa sit enim&quot;,&quot;fieldsV1&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;manager&quot;:&quot;officia nisi consectetur velit&quot;,&quot;operation&quot;:&quot;occaecat dolor velit cillum ullam&quot;,&quot;time&quot;:&quot;2000-10-17T18:16:02.920Z&quot;}],&quot;name&quot;:&quot;aute proident Duis mollit ipsum&quot;,&quot;namespace&quot;:&quot;culpa volu&quot;,&quot;ownerReferences&quot;:[{&quot;apiVersion&quot;:&quot;occaecat amet id&quot;,&quot;kind&quot;:&quot;eiusmod in&quot;,&quot;name&quot;:&quot;eiusmod sunt&quot;,&quot;uid&quot;:&quot;voluptate&quot;,&quot;blockOwnerDeletion&quot;:false,&quot;controller&quot;:true},{&quot;apiVersion&quot;:&quot;sunt anim irure&quot;,&quot;kind&quot;:&quot;consectetur&quot;,&quot;name&quot;:&quot;exercitation laborum nulla magna&quot;,&quot;uid&quot;:&quot;cupidatat ullamco&quot;,&quot;blockOwnerDeletion&quot;:true,&quot;controller&quot;:false}],&quot;resourceVersion&quot;:&quot;dolore el&quot;,&quot;selfLink&quot;:&quot;non Excepteur&quot;,&quot;uid&quot;:&quot;labore ad&quot;}}