Skip to content

Commit

Permalink
graduate PersistentVolumeLastPhaseTransitionTime to GA in v1.31
Browse files Browse the repository at this point in the history
  • Loading branch information
RomanBednar committed Jun 5, 2024
1 parent 084c526 commit eb223c1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
7 changes: 1 addition & 6 deletions content/en/docs/concepts/storage/persistent-volumes.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ stages:
- stage: beta
defaultValue: true
fromVersion: "1.29"
toVersion: "1.29"
- 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.

0 comments on commit eb223c1

Please sign in to comment.