@@ -310,6 +310,50 @@ See [topology.kubernetes.io/zone](#topologykubernetesiozone).
310
310
311
311
{{< note >}} Starting in v1.17, this label is deprecated in favor of [ topology.kubernetes.io/zone] ( #topologykubernetesiozone ) . {{< /note >}}
312
312
313
+ ### pv.kubernetes.io/bind-completed {#pv-kubernetesiobind-completed}
314
+
315
+ Example: ` pv.kubernetes.io/bind-completed: "yes" `
316
+
317
+ Used on: PersistentVolumeClaim
318
+
319
+ When this annotation is set on a PersistentVolumeClaim (PVC), that indicates that the lifecycle
320
+ of the PVC has passed through initial binding setup. When present, that information changes
321
+ how the control plane interprets the state of PVC objects.
322
+ The value of this annotation does not matter to Kubernetes.
323
+
324
+ ### pv.kubernetes.io/bound-by-controller {#pv-kubernetesioboundby-controller}
325
+
326
+ Example: ` pv.kubernetes.io/bound-by-controller: "yes" `
327
+
328
+ Used on: PersistentVolume, PersistentVolumeClaim
329
+
330
+ If this annotation is set on a PersistentVolume or PersistentVolumeClaim, it indicates that a storage binding
331
+ (PersistentVolume → PersistentVolumeClaim, or PersistentVolumeClaim → PersistentVolume) was installed
332
+ by the {{< glossary_tooltip text="controller" term_id="controller" >}}.
333
+ If the annotation isn't set, and there is a storage binding in place, the absence of that annotation means that
334
+ the binding was done manually. The value of this annotation does not matter.
335
+
336
+ ### pv.kubernetes.io/provisioned-by {#pv-kubernetesiodynamically-provisioned}
337
+
338
+ Example: ` pv.kubernetes.io/provisioned-by: "kubernetes.io/rbd" `
339
+
340
+ Used on: PersistentVolume
341
+
342
+ This annotation is added to a PersistentVolume(PV) that has been dynamically provisioned by Kubernetes.
343
+ Its value is the name of volume plugin that created the volume. It serves both user (to show where a PV
344
+ comes from) and Kubernetes (to recognize dynamically provisioned PVs in its decisions).
345
+
346
+ ### pv.kubernetes.io/migrated-to {#pv-kubernetesio-migratedto}
347
+
348
+ Example: ` pv.kubernetes.io/migrated-to: pd.csi.storage.gke.io `
349
+
350
+ Used on: PersistentVolume, PersistentVolumeClaim
351
+
352
+ It is added to a PersistentVolume(PV) and PersistentVolumeClaim(PVC) that is supposed to be
353
+ dynamically provisioned/deleted by its corresponding CSI driver through the ` CSIMigration ` feature gate.
354
+ When this annotation is set, the Kubernetes components will "stand-down" and the ` external-provisioner `
355
+ will act on the objects.
356
+
313
357
### statefulset.kubernetes.io/pod-name {#statefulsetkubernetesiopod-name}
314
358
315
359
Example:
0 commit comments