Skip to content

Commit 2714d34

Browse files
dipesh-rawatTim Bannister
andauthored
Update content/en/docs/reference/labels-annotations-taints/_index.md
Co-authored-by: Tim Bannister <[email protected]>
1 parent 9c86598 commit 2714d34

File tree

1 file changed

+2
-1
lines changed
  • content/en/docs/reference/labels-annotations-taints

1 file changed

+2
-1
lines changed

content/en/docs/reference/labels-annotations-taints/_index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,8 @@ Used on: PersistentVolume, PersistentVolumeClaim
439439

440440
This annotation can be used for PersistentVolume(PV) or PersistentVolumeClaim(PVC) to specify the name of [StorageClass](/docs/concepts/storage/storage-classes/). When both `storageClassName` attribute and `volume.beta.kubernetes.io/storage-class` annotation are specified, the annotation `volume.beta.kubernetes.io/storage-class` takes precedence over the `storageClassName` attribute.
441441

442-
This annotation has been deprecated.
442+
This annotation has been deprecated. Instead, set the [`storageClassName` field](/docs/concepts/storage/persistent-volumes/#class)
443+
for the PersistentVolumeClaim or PersistentVolume.
443444

444445
### volume.beta.kubernetes.io/mount-options (deprecated) {#mount-options}
445446

0 commit comments

Comments
 (0)