create Settings V1alpha1Namespaced Pod Preset

POST {{baseUrl}}/apis/settings.k8s.io/v1alpha1/namespaces/:namespace/podpresets?dryRun=<string>&fieldManager=<string>&pretty=<string>

create a PodPreset

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"=>"Ut ea", "creationTimestamp"=>"2009-12-07T00:25:10.630Z", "deletionGracePeriodSeconds"=>-80423999, "deletionTimestamp"=>"1989-12-24T06:14:30.051Z", "finalizers"=>["magna quis", "ut minim"], "generateName"=>"laborum qui consequat sed", "generation"=>-51210906, "labels"=>{}, "managedFields"=>[{"apiVersion"=>"velit commodo veniam ut dolor", "fieldsType"=>"sint quis et dolor", "fieldsV1"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "manager"=>"quis dolore ad veniam", "operation"=>"aliquip tempor", "time"=>"1995-12-20T20:38:02.823Z"}, {"apiVersion"=>"officia non", "fieldsType"=>"in", "fieldsV1"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "manager"=>"incididunt laborum aliquip", "operation"=>"fugiat", "time"=>"1995-11-18T15:20:08.924Z"}], "name"=>"tempor mollit q", "namespace"=>"sed aute deserunt tempor mag", "ownerReferences"=>[{"apiVersion"=>"ea ut irure", "kind"=>"elit labore dolore sed", "name"=>"ullamco ea dolore", "uid"=>"nisi anim officia", "blockOwnerDeletion"=>true, "controller"=>true}, {"apiVersion"=>"ad Lorem velit sit", "kind"=>"elit eiusmod nost", "name"=>"cillu", "uid"=>"occaecat dolor Excepteur", "blockOwnerDeletion"=>false, "controller"=>true}], "resourceVersion"=>"culpa cillum in exercitation", "selfLink"=>"esse id", "uid"=>"quis in cillum irure"}, "spec"=>{"env"=>[{"name"=>"dolor ut", "value"=>"consectetur eu", "valueFrom"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, {"name"=>"reprehenderit laboris est", "value"=>"fugiat", "valueFrom"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}], "envFrom"=>[{"configMapRef"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "prefix"=>"ipsum si", "secretRef"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, {"configMapRef"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "prefix"=>"sint ea", "secretRef"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}], "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"=>{}}, "volumeMounts"=>[{"name"=>"occaecat aliquip", "mountPath"=>"incididunt cillum sunt", "mountPropagation"=>"aliquip ad amet", "readOnly"=>true, "subPath"=>"deserunt nostr", "subPathExpr"=>"cupidatat s"}, {"name"=>"nostrud proident", "mountPath"=>"incididunt cillum exercitation", "mountPropagation"=>"pariatur", "readOnly"=>true, "subPath"=>"Duis dolor", "subPathExpr"=>"qui labore officia ex proident"}], "volumes"=>[{"name"=>"nostrud dolor", "awsElasticBlockStore"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "azureDisk"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "azureFile"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "cephfs"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "cinder"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "configMap"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "csi"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "downwardAPI"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "emptyDir"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "fc"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "flexVolume"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "flocker"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "gcePersistentDisk"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "gitRepo"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "glusterfs"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "hostPath"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "iscsi"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "nfs"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "persistentVolumeClaim"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "photonPersistentDisk"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "portworxVolume"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "projected"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "quobyte"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "rbd"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "scaleIO"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "secret"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "storageos"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "vsphereVolume"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, {"name"=>"ea minim sed", "awsElasticBlockStore"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "azureDisk"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "azureFile"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "cephfs"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "cinder"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "configMap"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "csi"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "downwardAPI"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "emptyDir"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "fc"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "flexVolume"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "flocker"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "gcePersistentDisk"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "gitRepo"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "glusterfs"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "hostPath"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "iscsi"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "nfs"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "persistentVolumeClaim"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "photonPersistentDisk"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "portworxVolume"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "projected"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "quobyte"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "rbd"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "scaleIO"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "secret"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "storageos"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "vsphereVolume"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}]}}

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;sint nisi&quot;,&quot;creationTimestamp&quot;:&quot;1958-10-31T01:55:05.504Z&quot;,&quot;deletionGracePeriodSeconds&quot;:18192385,&quot;deletionTimestamp&quot;:&quot;2000-12-04T19:40:01.501Z&quot;,&quot;finalizers&quot;:[&quot;tempor labore ut&quot;,&quot;dolore anim&quot;],&quot;generateName&quot;:&quot;Excepteur exercitation&quot;,&quot;generation&quot;:50960715,&quot;labels&quot;:{},&quot;managedFields&quot;:[{&quot;apiVersion&quot;:&quot;minim Ut&quot;,&quot;fieldsType&quot;:&quot;Ut minim consectetur culpa&quot;,&quot;fieldsV1&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;manager&quot;:&quot;ex officia elit ipsum commodo&quot;,&quot;operation&quot;:&quot;ut dolore laborum&quot;,&quot;time&quot;:&quot;1945-05-21T22:51:13.213Z&quot;},{&quot;apiVersion&quot;:&quot;ut ea in in&quot;,&quot;fieldsType&quot;:&quot;sunt&quot;,&quot;fieldsV1&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;manager&quot;:&quot;Ut sit labore&quot;,&quot;operation&quot;:&quot;amet ut&quot;,&quot;time&quot;:&quot;1997-05-16T14:03:25.941Z&quot;}],&quot;name&quot;:&quot;sed c&quot;,&quot;namespace&quot;:&quot;qui ipsum&quot;,&quot;ownerReferences&quot;:[{&quot;apiVersion&quot;:&quot;aliquip occaecat&quot;,&quot;kind&quot;:&quot;elit incididunt&quot;,&quot;name&quot;:&quot;voluptate eu irure cupidatat&quot;,&quot;uid&quot;:&quot;minim do aliqua dolore&quot;,&quot;blockOwnerDeletion&quot;:true,&quot;controller&quot;:true},{&quot;apiVersion&quot;:&quot;ipsum Duis mollit ullamco&quot;,&quot;kind&quot;:&quot;deserunt anim&quot;,&quot;name&quot;:&quot;voluptate commodo&quot;,&quot;uid&quot;:&quot;aute&quot;,&quot;blockOwnerDeletion&quot;:true,&quot;controller&quot;:true}],&quot;resourceVersion&quot;:&quot;et nostrud aliqua Ut&quot;,&quot;selfLink&quot;:&quot;laboris ut reprehenderit amet&quot;,&quot;uid&quot;:&quot;voluptate eu&quot;},&quot;spec&quot;:{&quot;env&quot;:[{&quot;name&quot;:&quot;es&quot;,&quot;value&quot;:&quot;cillu&quot;,&quot;valueFrom&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}},{&quot;name&quot;:&quot;proident ullamco&quot;,&quot;value&quot;:&quot;proident laborum in&quot;,&quot;valueFrom&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}}],&quot;envFrom&quot;:[{&quot;configMapRef&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;prefix&quot;:&quot;in ad laborum&quot;,&quot;secretRef&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}},{&quot;configMapRef&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;prefix&quot;:&quot;Duis magna&quot;,&quot;secretRef&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&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;volumeMounts&quot;:[{&quot;name&quot;:&quot;u&quot;,&quot;mountPath&quot;:&quot;sunt mollit sint amet&quot;,&quot;mountPropagation&quot;:&quot;velit qui fug&quot;,&quot;readOnly&quot;:false,&quot;subPath&quot;:&quot;ea cillum labor&quot;,&quot;subPathExpr&quot;:&quot;amet cupidatat id&quot;},{&quot;name&quot;:&quot;cupidatat Duis ullamco in&quot;,&quot;mountPath&quot;:&quot;cupidatat laboris sint voluptate&quot;,&quot;mountPropagation&quot;:&quot;dolor ullamco fugiat incididunt&quot;,&quot;readOnly&quot;:false,&quot;subPath&quot;:&quot;esse&quot;,&quot;subPathExpr&quot;:&quot;adipisicing d&quot;}],&quot;volumes&quot;:[{&quot;name&quot;:&quot;fugiat cillum et irure anim&quot;,&quot;awsElasticBlockStore&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;azureDisk&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;azureFile&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;cephfs&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;cinder&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;configMap&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;csi&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;downwardAPI&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;emptyDir&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;fc&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;flexVolume&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;flocker&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;gcePersistentDisk&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;gitRepo&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;glusterfs&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;hostPath&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;iscsi&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;nfs&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;persistentVolumeClaim&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;photonPersistentDisk&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;portworxVolume&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;projected&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;quobyte&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;rbd&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;scaleIO&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;secret&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;storageos&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;vsphereVolume&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}},{&quot;name&quot;:&quot;do in nisi in exercitation&quot;,&quot;awsElasticBlockStore&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;azureDisk&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;azureFile&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;cephfs&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;cinder&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;configMap&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;csi&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;downwardAPI&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;emptyDir&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;fc&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;flexVolume&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;flocker&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;gcePersistentDisk&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;gitRepo&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;glusterfs&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;hostPath&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;iscsi&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;nfs&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;persistentVolumeClaim&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;photonPersistentDisk&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;portworxVolume&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;projected&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;quobyte&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;rbd&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;scaleIO&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;secret&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;storageos&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;vsphereVolume&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}}]}}