Merge pull request #116469 from RomanBednar/pv-phase-transition-time

PersistentVolume last phase transition time
This commit is contained in:
Kubernetes Prow Robot
2023-07-21 16:10:07 -07:00
committed by GitHub
22 changed files with 1499 additions and 887 deletions

View File

@@ -7783,6 +7783,10 @@
"io.k8s.api.core.v1.PersistentVolumeStatus": {
"description": "PersistentVolumeStatus is the current status of a persistent volume.",
"properties": {
"lastPhaseTransitionTime": {
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time",
"description": "lastPhaseTransitionTime is the time the phase transitioned from one to another and automatically resets to current time everytime a volume phase transitions. This is an alpha field and requires enabling PersistentVolumeLastPhaseTransitionTime feature."
},
"message": {
"description": "message is a human-readable message indicating details about why the volume is in this state.",
"type": "string"

View File

@@ -4621,6 +4621,14 @@
"io.k8s.api.core.v1.PersistentVolumeStatus": {
"description": "PersistentVolumeStatus is the current status of a persistent volume.",
"properties": {
"lastPhaseTransitionTime": {
"allOf": [
{
"$ref": "#/components/schemas/io.k8s.apimachinery.pkg.apis.meta.v1.Time"
}
],
"description": "lastPhaseTransitionTime is the time the phase transitioned from one to another and automatically resets to current time everytime a volume phase transitions. This is an alpha field and requires enabling PersistentVolumeLastPhaseTransitionTime feature."
},
"message": {
"description": "message is a human-readable message indicating details about why the volume is in this state.",
"type": "string"