Patch a Persistent Volume Claim
PATCH/api/v1/namespaces/{namespace:[a-z0-9][a-z0-9\-]*}/persistentvolumeclaims/{name:[a-z0-9][a-z0-9\-]*}
Patch a PersistentVolumeClaim object.
Request
Path Parameters
name stringrequired
Name of the resource
namespace stringrequired
Object name and auth scope, such as for teams and projects
- application/json-patch+json
- application/merge-patch+json
Body
required
object
Body
required
object
Responses
- 200
- 401
OK
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
- Array [
- ]
apiVersion stringrequired
kind stringrequired
metadata object
name stringrequired
namespace string
spec object
accessModes string[]
dataSource object
apiGroup string
kind stringrequired
name stringrequired
dataSourceRef object
apiGroup string
kind stringrequired
name stringrequired
resources object
limits object
property name* string
Default value: [object Object]
requests object
property name* string
Default value: [object Object]
selector object
matchExpressions object[]
key stringrequired
operator stringrequired
values string[]
matchLabels object
property name* string
storageClassName string
volumeMode string
volumeName string
status object
accessModes string[]
allocatedResources object
property name* string
Default value: [object Object]
capacity object
property name* string
Default value: [object Object]
conditions object[]
lastProbeTime string
Default value: [object Object]
lastTransitionTime string
Default value: [object Object]
message string
reason string
status stringrequired
type stringrequired
phase string
Possible values: [Bound
, Lost
, Pending
]
resizeStatus string
{
"apiVersion": "string",
"kind": "string",
"metadata": {
"name": "string",
"namespace": "string"
},
"spec": {
"accessModes": [
"string"
],
"dataSource": {
"apiGroup": "string",
"kind": "string",
"name": "string"
},
"dataSourceRef": {
"apiGroup": "string",
"kind": "string",
"name": "string"
},
"resources": {
"limits": {},
"requests": {}
},
"selector": {
"matchExpressions": [
{
"key": "string",
"operator": "string",
"values": [
"string"
]
}
],
"matchLabels": {}
},
"storageClassName": "string",
"volumeMode": "string",
"volumeName": "string"
},
"status": {
"accessModes": [
"string"
],
"allocatedResources": {},
"capacity": {},
"conditions": [
{
"lastProbeTime": {},
"lastTransitionTime": {},
"message": "string",
"reason": "string",
"status": "string",
"type": "string"
}
],
"phase": "Bound",
"resizeStatus": "string"
}
}
Unauthorized
- application/json
- Schema
Schema
string
Loading...