curl --location --request GET '/apis/storage.k8s.io/v1/volumeattachments/'
{
"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": {
"attacher": "string",
"nodeName": "string",
"source": {
"inlineVolumeSpec": {
"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"
}
},
"persistentVolumeName": "string"
}
},
"status": {
"attachError": {
"message": "string",
"time": "2019-08-24T14:15:22Z"
},
"attached": true,
"attachmentMetadata": {
"property1": "string",
"property2": "string"
},
"detachError": {
"message": "string",
"time": "2019-08-24T14:15:22Z"
}
}
}