curl --location --request GET '/apis/settings.k8s.io/v1alpha1/podpresets'
{
"apiVersion": "string",
"items": [
{
"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,
"initializers": {
"pending": [
{
"name": "string"
}
],
"result": {
"apiVersion": "string",
"code": 0,
"details": {
"causes": [
{
"field": "string",
"message": "string",
"reason": "string"
}
],
"group": "string",
"kind": "string",
"name": "string",
"retryAfterSeconds": 0,
"uid": "string"
},
"kind": "string",
"message": "string",
"metadata": {
"continue": "string",
"resourceVersion": "string",
"selfLink": "string"
},
"reason": "string",
"status": "string"
}
},
"labels": {
"property1": "string",
"property2": "string"
},
"managedFields": [
{
"apiVersion": "string",
"fields": {},
"manager": "string",
"operation": "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": {
"env": [
{
"name": "string",
"value": "string",
"valueFrom": {
"configMapKeyRef": {
"key": "string",
"name": "string",
"optional": true
},
"fieldRef": {
"apiVersion": "string",
"fieldPath": "string"
},
"resourceFieldRef": {
"containerName": "string",
"divisor": "string",
"resource": "string"
},
"secretKeyRef": {
"key": "string",
"name": "string",
"optional": true
}
}
}
],
"envFrom": [
{
"configMapRef": {
"name": "string",
"optional": true
},
"prefix": "string",
"secretRef": {
"name": "string",
"optional": true
}
}
],
"selector": {
"matchExpressions": [
{
"key": "string",
"operator": "string",
"values": [
"string"
]
}
],
"matchLabels": {
"property1": "string",
"property2": "string"
}
},
"volumeMounts": [
{
"mountPath": "string",
"mountPropagation": "string",
"name": "string",
"readOnly": true,
"subPath": "string",
"subPathExpr": "string"
}
],
"volumes": [
{
"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",
"shareName": "string"
},
"cephfs": {
"monitors": [
"string"
],
"path": "string",
"readOnly": true,
"secretFile": "string",
"secretRef": {
"name": "string"
},
"user": "string"
},
"cinder": {
"fsType": "string",
"readOnly": true,
"secretRef": {
"name": "string"
},
"volumeID": "string"
},
"configMap": {
"defaultMode": 0,
"items": [
{
"key": "string",
"mode": 0,
"path": "string"
}
],
"name": "string",
"optional": true
},
"csi": {
"driver": "string",
"fsType": "string",
"nodePublishSecretRef": {
"name": "string"
},
"readOnly": true,
"volumeAttributes": {
"property1": "string",
"property2": "string"
}
},
"downwardAPI": {
"defaultMode": 0,
"items": [
{
"fieldRef": {
"apiVersion": "string",
"fieldPath": "string"
},
"mode": 0,
"path": "string",
"resourceFieldRef": {
"containerName": "string",
"divisor": "string",
"resource": "string"
}
}
]
},
"emptyDir": {
"medium": "string",
"sizeLimit": "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"
}
},
"flocker": {
"datasetName": "string",
"datasetUUID": "string"
},
"gcePersistentDisk": {
"fsType": "string",
"partition": 0,
"pdName": "string",
"readOnly": true
},
"gitRepo": {
"directory": "string",
"repository": "string",
"revision": "string"
},
"glusterfs": {
"endpoints": "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"
},
"targetPortal": "string"
},
"name": "string",
"nfs": {
"path": "string",
"readOnly": true,
"server": "string"
},
"persistentVolumeClaim": {
"claimName": "string",
"readOnly": true
},
"photonPersistentDisk": {
"fsType": "string",
"pdID": "string"
},
"portworxVolume": {
"fsType": "string",
"readOnly": true,
"volumeID": "string"
},
"projected": {
"defaultMode": 0,
"sources": [
{
"configMap": {
"items": [
{
"key": "string",
"mode": 0,
"path": "string"
}
],
"name": "string",
"optional": true
},
"downwardAPI": {
"items": [
{
"fieldRef": {
"apiVersion": "string",
"fieldPath": "string"
},
"mode": 0,
"path": "string",
"resourceFieldRef": {
"containerName": "string",
"divisor": "string",
"resource": "string"
}
}
]
},
"secret": {
"items": [
{
"key": "string",
"mode": 0,
"path": "string"
}
],
"name": "string",
"optional": true
},
"serviceAccountToken": {
"audience": "string",
"expirationSeconds": 0,
"path": "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"
},
"user": "string"
},
"scaleIO": {
"fsType": "string",
"gateway": "string",
"protectionDomain": "string",
"readOnly": true,
"secretRef": {
"name": "string"
},
"sslEnabled": true,
"storageMode": "string",
"storagePool": "string",
"system": "string",
"volumeName": "string"
},
"secret": {
"defaultMode": 0,
"items": [
{
"key": "string",
"mode": 0,
"path": "string"
}
],
"optional": true,
"secretName": "string"
},
"storageos": {
"fsType": "string",
"readOnly": true,
"secretRef": {
"name": "string"
},
"volumeName": "string",
"volumeNamespace": "string"
},
"vsphereVolume": {
"fsType": "string",
"storagePolicyID": "string",
"storagePolicyName": "string",
"volumePath": "string"
}
}
]
}
}
],
"kind": "string",
"metadata": {
"continue": "string",
"resourceVersion": "string",
"selfLink": "string"
}
}