ServerSideFieldValidation
feature disabled will discard valid values specified in this param and not perform any server side field validation. Valid values are: - Ignore: ignores unknown/duplicate fields. - Warn: responds with a warning for each unknown/duplicate field, but successfully serves the request. - Strict: fails the request on unknown/duplicate fields.curl --location --request PUT '/api/v1/persistentvolumes/' \
--header 'Content-Type: text/plain' \
--data-raw ''
"Delete"
means the volume will be deleted from Kubernetes on release from its claim. The volume plugin must support Deletion."Recycle"
means the volume will be recycled back into the pool of unbound persistent volumes on release from its claim. The volume plugin must support Recycling."Retain"
means the volume will be left in its current phase (Released) for manual reclamation by the administrator. The default policy is Retain."Available"
used for PersistentVolumes that are not yet bound Available volumes are held by the binder and matched to PersistentVolumeClaims"Bound"
used for PersistentVolumes that are bound"Failed"
used for PersistentVolumes that failed to be correctly recycled or deleted after being released from a claim"Pending"
used for PersistentVolumes that are not available"Released"
used for PersistentVolumes where the bound PersistentVolumeClaim was deleted released volumes must be recycled before becoming available again this phase is used by the persistent volume claim binder to signal to another process to reclaim the resource{
"apiVersion": "string",
"kind": "string",
"metadata": {
"annotations": {
"property1": "string",
"property2": "string"
},
"clusterName": "string",
"creationTimestamp": "2019-08-24T14:15:22Z",
"deletionGracePeriodSeconds": 0,
"deletionTimestamp": "2019-08-24T14:15:22Z",
"finalizers": [
"string"
],
"generateName": "string",
"generation": 0,
"labels": {
"property1": "string",
"property2": "string"
},
"managedFields": [
{
"apiVersion": "string",
"fieldsType": "string",
"fieldsV1": {},
"manager": "string",
"operation": "string",
"subresource": "string",
"time": "2019-08-24T14:15:22Z"
}
],
"name": "string",
"namespace": "string",
"ownerReferences": [
{
"apiVersion": "string",
"blockOwnerDeletion": true,
"controller": true,
"kind": "string",
"name": "string",
"uid": "string"
}
],
"resourceVersion": "string",
"selfLink": "string",
"uid": "string"
},
"spec": {
"accessModes": [
"string"
],
"awsElasticBlockStore": {
"fsType": "string",
"partition": 0,
"readOnly": true,
"volumeID": "string"
},
"azureDisk": {
"cachingMode": "string",
"diskName": "string",
"diskURI": "string",
"fsType": "string",
"kind": "string",
"readOnly": true
},
"azureFile": {
"readOnly": true,
"secretName": "string",
"secretNamespace": "string",
"shareName": "string"
},
"capacity": {
"property1": "string",
"property2": "string"
},
"cephfs": {
"monitors": [
"string"
],
"path": "string",
"readOnly": true,
"secretFile": "string",
"secretRef": {
"name": "string",
"namespace": "string"
},
"user": "string"
},
"cinder": {
"fsType": "string",
"readOnly": true,
"secretRef": {
"name": "string",
"namespace": "string"
},
"volumeID": "string"
},
"claimRef": {
"apiVersion": "string",
"fieldPath": "string",
"kind": "string",
"name": "string",
"namespace": "string",
"resourceVersion": "string",
"uid": "string"
},
"csi": {
"controllerExpandSecretRef": {
"name": "string",
"namespace": "string"
},
"controllerPublishSecretRef": {
"name": "string",
"namespace": "string"
},
"driver": "string",
"fsType": "string",
"nodePublishSecretRef": {
"name": "string",
"namespace": "string"
},
"nodeStageSecretRef": {
"name": "string",
"namespace": "string"
},
"readOnly": true,
"volumeAttributes": {
"property1": "string",
"property2": "string"
},
"volumeHandle": "string"
},
"fc": {
"fsType": "string",
"lun": 0,
"readOnly": true,
"targetWWNs": [
"string"
],
"wwids": [
"string"
]
},
"flexVolume": {
"driver": "string",
"fsType": "string",
"options": {
"property1": "string",
"property2": "string"
},
"readOnly": true,
"secretRef": {
"name": "string",
"namespace": "string"
}
},
"flocker": {
"datasetName": "string",
"datasetUUID": "string"
},
"gcePersistentDisk": {
"fsType": "string",
"partition": 0,
"pdName": "string",
"readOnly": true
},
"glusterfs": {
"endpoints": "string",
"endpointsNamespace": "string",
"path": "string",
"readOnly": true
},
"hostPath": {
"path": "string",
"type": "string"
},
"iscsi": {
"chapAuthDiscovery": true,
"chapAuthSession": true,
"fsType": "string",
"initiatorName": "string",
"iqn": "string",
"iscsiInterface": "string",
"lun": 0,
"portals": [
"string"
],
"readOnly": true,
"secretRef": {
"name": "string",
"namespace": "string"
},
"targetPortal": "string"
},
"local": {
"fsType": "string",
"path": "string"
},
"mountOptions": [
"string"
],
"nfs": {
"path": "string",
"readOnly": true,
"server": "string"
},
"nodeAffinity": {
"required": {
"nodeSelectorTerms": [
{
"matchExpressions": [
{
"key": "string",
"operator": "DoesNotExist",
"values": [
"string"
]
}
],
"matchFields": [
{
"key": "string",
"operator": "DoesNotExist",
"values": [
"string"
]
}
]
}
]
}
},
"persistentVolumeReclaimPolicy": "Delete",
"photonPersistentDisk": {
"fsType": "string",
"pdID": "string"
},
"portworxVolume": {
"fsType": "string",
"readOnly": true,
"volumeID": "string"
},
"quobyte": {
"group": "string",
"readOnly": true,
"registry": "string",
"tenant": "string",
"user": "string",
"volume": "string"
},
"rbd": {
"fsType": "string",
"image": "string",
"keyring": "string",
"monitors": [
"string"
],
"pool": "string",
"readOnly": true,
"secretRef": {
"name": "string",
"namespace": "string"
},
"user": "string"
},
"scaleIO": {
"fsType": "string",
"gateway": "string",
"protectionDomain": "string",
"readOnly": true,
"secretRef": {
"name": "string",
"namespace": "string"
},
"sslEnabled": true,
"storageMode": "string",
"storagePool": "string",
"system": "string",
"volumeName": "string"
},
"storageClassName": "string",
"storageos": {
"fsType": "string",
"readOnly": true,
"secretRef": {
"apiVersion": "string",
"fieldPath": "string",
"kind": "string",
"name": "string",
"namespace": "string",
"resourceVersion": "string",
"uid": "string"
},
"volumeName": "string",
"volumeNamespace": "string"
},
"volumeMode": "string",
"vsphereVolume": {
"fsType": "string",
"storagePolicyID": "string",
"storagePolicyName": "string",
"volumePath": "string"
}
},
"status": {
"message": "string",
"phase": "Available",
"reason": "string"
}
}