create Core V1Namespaced Persistent Volume Claim

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

create a PersistentVolumeClaim

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>", "kind"=>"<string>", "metadata"=>{"annotations"=>{}, "clusterName"=>"qui nostrud", "creationTimestamp"=>"1976-04-17T01:26:14.450Z", "deletionGracePeriodSeconds"=>97329245, "deletionTimestamp"=>"1992-02-27T01:07:04.652Z", "finalizers"=>["dolore", "esse reprehe"], "generateName"=>"pariatur do", "generation"=>83781298, "labels"=>{}, "managedFields"=>[{"apiVersion"=>"ea pariatur elit", "fieldsType"=>"pariatur minim cupidatat ut", "fieldsV1"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "manager"=>"eiusmod", "operation"=>"aute in non ad", "time"=>"1972-08-19T03:02:17.377Z"}, {"apiVersion"=>"aliquip proident", "fieldsType"=>"eu sint pariatur", "fieldsV1"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "manager"=>"est ad dolore", "operation"=>"ea lab", "time"=>"2006-09-13T12:06:06.188Z"}], "name"=>"voluptate anim", "namespace"=>"ullamco minim eu Ut", "ownerReferences"=>[{"apiVersion"=>"enim dolore", "kind"=>"minim tempor aliqua", "name"=>"est", "uid"=>"Excepteur et commodo culpa", "blockOwnerDeletion"=>false, "controller"=>false}, {"apiVersion"=>"", "kind"=>"quis enim officia", "name"=>"labore nulla", "uid"=>"dolor Lorem reprehende", "blockOwnerDeletion"=>true, "controller"=>false}], "resourceVersion"=>"culpa ea minim magna", "selfLink"=>"pariatur", "uid"=>"in do"}, "spec"=>{"accessModes"=>["nulla aliquip", "occaecat dolor consequat"], "dataSource"=>{"kind"=>"esse", "name"=>"mollit enim nulla adi", "apiGroup"=>"ea reprehenderit in"}, "resources"=>{"limits"=>{}, "requests"=>{}}, "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"=>{}}, "storageClassName"=>"enim magna occaecat", "volumeMode"=>"consectetur Lorem anim", "volumeName"=>"Excepteur ex nostrud in"}, "status"=>{"accessModes"=>["proident", "tempor quis Duis"], "capacity"=>{}, "conditions"=>[{"type"=>"ullamco irure eu adipisicing", "status"=>"ut laboris cillum", "lastProbeTime"=>"1999-08-23T11:54:52.020Z", "lastTransitionTime"=>"1977-08-21T14:48:26.300Z", "message"=>"tempor id qui commodo consectetur", "reason"=>"culpa labore ad dolore officia"}, {"type"=>"ex esse occaecat", "status"=>"aute esse deserunt eu", "lastProbeTime"=>"1962-06-05T12:06:39.440Z", "lastTransitionTime"=>"2013-06-22T16:16:16.336Z", "message"=>"consequat ex", "reason"=>"fugiat ea pariatur"}], "phase"=>"esse ipsum consectetur"}}

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;e&quot;,&quot;creationTimestamp&quot;:&quot;1980-08-22T01:05:40.742Z&quot;,&quot;deletionGracePeriodSeconds&quot;:13776154,&quot;deletionTimestamp&quot;:&quot;1990-06-30T12:56:25.255Z&quot;,&quot;finalizers&quot;:[&quot;et exercitation aliquip Duis&quot;,&quot;commodo Excepteur in esse&quot;],&quot;generateName&quot;:&quot;non fugiat qui sed nostrud&quot;,&quot;generation&quot;:-64468612,&quot;labels&quot;:{},&quot;managedFields&quot;:[{&quot;apiVersion&quot;:&quot;voluptate proident&quot;,&quot;fieldsType&quot;:&quot;quis esse sunt cil&quot;,&quot;fieldsV1&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;manager&quot;:&quot;in laborum&quot;,&quot;operation&quot;:&quot;ea fugiat minim&quot;,&quot;time&quot;:&quot;1989-05-03T07:19:47.866Z&quot;},{&quot;apiVersion&quot;:&quot;culpa&quot;,&quot;fieldsType&quot;:&quot;labo&quot;,&quot;fieldsV1&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;manager&quot;:&quot;sint elit&quot;,&quot;operation&quot;:&quot;eiusmod eu Excepteur&quot;,&quot;time&quot;:&quot;1966-01-02T10:24:52.668Z&quot;}],&quot;name&quot;:&quot;eiusmod adipisicing in&quot;,&quot;namespace&quot;:&quot;nulla ullamco&quot;,&quot;ownerReferences&quot;:[{&quot;apiVersion&quot;:&quot;esse tempor&quot;,&quot;kind&quot;:&quot;culpa dolor deserunt Excepteur ipsum&quot;,&quot;name&quot;:&quot;aute cillum id consectetur&quot;,&quot;uid&quot;:&quot;Duis eu mollit tempor&quot;,&quot;blockOwnerDeletion&quot;:true,&quot;controller&quot;:true},{&quot;apiVersion&quot;:&quot;ad&quot;,&quot;kind&quot;:&quot;sint pariatur et velit&quot;,&quot;name&quot;:&quot;minim nulla&quot;,&quot;uid&quot;:&quot;cupidatat id ullamco in officia&quot;,&quot;blockOwnerDeletion&quot;:false,&quot;controller&quot;:true}],&quot;resourceVersion&quot;:&quot;minim&quot;,&quot;selfLink&quot;:&quot;ut officia&quot;,&quot;uid&quot;:&quot;esse dolore&quot;},&quot;spec&quot;:{&quot;accessModes&quot;:[&quot;el&quot;,&quot;proident Lorem culpa id esse&quot;],&quot;dataSource&quot;:{&quot;kind&quot;:&quot;pariatur&quot;,&quot;name&quot;:&quot;anim sit&quot;,&quot;apiGroup&quot;:&quot;in sunt dolore&quot;},&quot;resources&quot;:{&quot;limits&quot;:{},&quot;requests&quot;:{}},&quot;selector&quot;:{&quot;matchExpressions&quot;:[{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}],&quot;matchLabels&quot;:{}},&quot;storageClassName&quot;:&quot;aliqua fugiat nisi et&quot;,&quot;volumeMode&quot;:&quot;Duis minim dolor&quot;,&quot;volumeName&quot;:&quot;sint id elit ad&quot;},&quot;status&quot;:{&quot;accessModes&quot;:[&quot;magna&quot;,&quot;officia est pariatur ipsum&quot;],&quot;capacity&quot;:{},&quot;conditions&quot;:[{&quot;type&quot;:&quot;magna sit voluptate culpa&quot;,&quot;status&quot;:&quot;non ut&quot;,&quot;lastProbeTime&quot;:&quot;1954-02-09T17:05:32.475Z&quot;,&quot;lastTransitionTime&quot;:&quot;1992-04-25T00:32:46.767Z&quot;,&quot;message&quot;:&quot;magna nostrud&quot;,&quot;reason&quot;:&quot;incididunt consectetur&quot;},{&quot;type&quot;:&quot;aliquip &quot;,&quot;status&quot;:&quot;Ut mollit non&quot;,&quot;lastProbeTime&quot;:&quot;1961-01-23T04:35:27.941Z&quot;,&quot;lastTransitionTime&quot;:&quot;1959-08-24T08:37:06.698Z&quot;,&quot;message&quot;:&quot;labore ipsum in&quot;,&quot;reason&quot;:&quot;qui minim ip&quot;}],&quot;phase&quot;:&quot;nulla nostrud occaecat&quot;}}