Skip to content

Commit

Permalink
Add docs for PersistentVolume last phase transition time
Browse files Browse the repository at this point in the history
  • Loading branch information
RomanBednar committed Aug 2, 2023
1 parent 4618266 commit 1d09feb
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions content/en/docs/concepts/storage/persistent-volumes.md
Original file line number Diff line number Diff line change
Expand Up @@ -768,6 +768,20 @@ A volume will be in one of the following phases:

The CLI will show the name of the PVC bound to the PV.

#### Phase transition timestamp

{{< feature-state for_k8s_version="v1.28" state="alpha" >}}

Persistent volume status contains `LastPhaseTransitionTime` field which holds
a timestamp of when the volume last transitioned its phase. For newly created
volumes the phase is set to "Pending" and `LastPhaseTransitionTime` is set to
current time.

{{< note >}}
You need to enable the `PersistentVolumeLastPhaseTransitionTime` [feature gate](/docs/reference/command-line-tools-reference/feature-gates/)
to see `LastPhaseTransitionTime` field.
{{< /note >}}

## PersistentVolumeClaims

Each PVC contains a spec and status, which is the specification and status of the claim.
Expand Down

0 comments on commit 1d09feb

Please sign in to comment.