From c07a10864bef5ac4c7f2f203bb3ab96d90754a59 Mon Sep 17 00:00:00 2001 From: Roman Bednar Date: Mon, 20 May 2024 13:40:38 +0200 Subject: [PATCH] graduate PersistentVolumeLastPhaseTransitionTime to GA in v1.31 --- content/en/docs/concepts/storage/persistent-volumes.md | 7 +------ .../persistent-volume-last-phase-transition-time.md | 4 ++++ 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/content/en/docs/concepts/storage/persistent-volumes.md b/content/en/docs/concepts/storage/persistent-volumes.md index e143a060a34a2..48900678ba463 100644 --- a/content/en/docs/concepts/storage/persistent-volumes.md +++ b/content/en/docs/concepts/storage/persistent-volumes.md @@ -766,18 +766,13 @@ You can see the name of the PVC bound to the PV using `kubectl describe persiste #### Phase transition timestamp -{{< feature-state for_k8s_version="v1.29" state="beta" >}} +{{< feature-state feature_gate_name="PersistentVolumeLastPhaseTransitionTime" >}} The `.status` field for a PersistentVolume can include an alpha `lastPhaseTransitionTime` field. This field records the timestamp of when the volume last transitioned its phase. For newly created volumes the phase is set to `Pending` and `lastPhaseTransitionTime` is set to the current time. -{{< note >}} -You need to enable the `PersistentVolumeLastPhaseTransitionTime` [feature gate](/docs/reference/command-line-tools-reference/feature-gates/) -to use or see the `lastPhaseTransitionTime` field. -{{< /note >}} - ## PersistentVolumeClaims Each PVC contains a spec and status, which is the specification and status of the claim. diff --git a/content/en/docs/reference/command-line-tools-reference/feature-gates/persistent-volume-last-phase-transition-time.md b/content/en/docs/reference/command-line-tools-reference/feature-gates/persistent-volume-last-phase-transition-time.md index 4c2900c978c18..d489173d4f810 100644 --- a/content/en/docs/reference/command-line-tools-reference/feature-gates/persistent-volume-last-phase-transition-time.md +++ b/content/en/docs/reference/command-line-tools-reference/feature-gates/persistent-volume-last-phase-transition-time.md @@ -13,6 +13,10 @@ stages: - stage: beta defaultValue: true fromVersion: "1.29" + toVersion: "1.30" + - stage: stable + defaultValue: true + fromVersion: "1.31" --- Adds a new field to PersistentVolume which holds a timestamp of when the volume last transitioned its phase.