Skip to content

Commit e431d58

Browse files
authored
Merge pull request #31532 from Kartik494/addAnotation
Documented annotation volume.kubernetes.io/storage-provisioner
2 parents ce1e621 + 49c67a9 commit e431d58

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

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

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,20 @@ The scheduler (through the _VolumeZonePredicate_ predicate) also will ensure tha
159159
If `PersistentVolumeLabel` does not support automatic labeling of your PersistentVolumes, you should consider
160160
adding the labels manually (or adding support for `PersistentVolumeLabel`). With `PersistentVolumeLabel`, the scheduler prevents Pods from mounting volumes in a different zone. If your infrastructure doesn't have this constraint, you don't need to add the zone labels to the volumes at all.
161161

162+
## volume.beta.kubernetes.io/storage-provisioner (deprecated)
163+
164+
Example: `volume.beta.kubernetes.io/storage-provisioner: k8s.io/minikube-hostpath`
165+
166+
Used on: PersistentVolumeClaim
167+
168+
This annotation has been deprecated.
169+
170+
## volume.kubernetes.io/storage-provisioner
171+
172+
Used on: PersistentVolumeClaim
173+
174+
This annotation will be added to dynamic provisioning required PVC.
175+
162176
## node.kubernetes.io/windows-build {#nodekubernetesiowindows-build}
163177

164178
Example: `node.kubernetes.io/windows-build=10.0.17763`

0 commit comments

Comments
 (0)