OS
Schema Hub

PersistentVolumeStatus

PersistentVolumeStatus is the current status of a persistent volume.

Schema URL
https://raw.githubusercontent.com/nlamirault/schema-hub/main/schemas/core.api.k8s.io/PersistentVolumeStatus_v1.json
Usage examples
VS Code / yaml-language-server
# yaml-language-server: $schema=https://raw.githubusercontent.com/nlamirault/schema-hub/main/schemas/core.api.k8s.io/PersistentVolumeStatus_v1.json
kubeconform
kubeconform -schema-location 'https://raw.githubusercontent.com/nlamirault/schema-hub/main/schemas/{{ .Group }}/{{ .ResourceKind }}_{{ .ResourceAPIVersion }}.json' manifest.yaml

Resource Structure

lastPhaseTransitionTimeobject
lastPhaseTransitionTime is the time the phase transitioned from one to another and automatically resets to current time everytime a volume phase transitions.
messagestring
message is a human-readable message indicating details about why the volume is in this state.
phasestring
phase indicates if a volume is available, bound to a claim, or released by a claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#phase
reasonstring
reason is a brief CamelCase string that describes any failure and is meant for machine parsing and tidy display in the CLI.