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 POST '/api/v1/namespaces//persistentvolumeclaims' \
--header 'Content-Type: text/plain' \
--data-raw ''
"Bound"
used for PersistentVolumeClaims that are bound"Lost"
used for PersistentVolumeClaims that lost their underlying PersistentVolume. The claim was bound to a PersistentVolume and this volume does not exist any longer and all data on it was lost."Pending"
used for PersistentVolumeClaims that are not yet bound{
"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"
],
"dataSource": {
"apiGroup": "string",
"kind": "string",
"name": "string"
},
"dataSourceRef": {
"apiGroup": "string",
"kind": "string",
"name": "string"
},
"resources": {
"limits": {
"property1": "string",
"property2": "string"
},
"requests": {
"property1": "string",
"property2": "string"
}
},
"selector": {
"matchExpressions": [
{
"key": "string",
"operator": "string",
"values": [
"string"
]
}
],
"matchLabels": {
"property1": "string",
"property2": "string"
}
},
"storageClassName": "string",
"volumeMode": "string",
"volumeName": "string"
},
"status": {
"accessModes": [
"string"
],
"allocatedResources": {
"property1": "string",
"property2": "string"
},
"capacity": {
"property1": "string",
"property2": "string"
},
"conditions": [
{
"lastProbeTime": "2019-08-24T14:15:22Z",
"lastTransitionTime": "2019-08-24T14:15:22Z",
"message": "string",
"reason": "string",
"status": "string",
"type": "FileSystemResizePending"
}
],
"phase": "Bound",
"resizeStatus": "string"
}
}