You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**Note:** The local PersistentVolume cleanup and deletion requires manual intervention without the external provisioner.
556
+
PV `nodeAffinity` is required when using local volumes. It enables
557
+
the Kubernetes scheduler to correctly schedule pods using local volumes to the
558
+
correct node.
559
+
560
+
**Note:** The local PV cleanup and deletion requires manual
561
+
intervention if the external static provisioner is not used to manage the volumes.
561
562
{: .note}
562
563
563
-
Starting in 1.9, local volume binding can be delayed until pod scheduling by
564
+
When using local volumes, PVC binding should be delayed until pod scheduling by
564
565
creating a StorageClass with `volumeBindingMode` set to `WaitForFirstConsumer`.
565
566
See the [example](storage-classes.md#local). Delaying volume binding ensures
566
-
that the volume binding decision will also be evaluated with any other node
567
+
that the PVC binding decision will also be evaluated with any other node
567
568
constraints the pod may have, such as node resource requirements, node
568
569
selectors, pod affinity, and pod anti-affinity.
569
570
570
-
For details on the `local` volume type, see the [Local Persistent Storage
571
-
user guide](https://github.com/kubernetes-incubator/external-storage/tree/master/local-volume).
571
+
An external static provisioner can be run separately for improved management of
572
+
the local volume lifecycle. For details on how to run the external provisioner,
573
+
see the [local volume provisioner user guide](https://github.com/kubernetes-incubator/external-storage/tree/master/local-volume).
0 commit comments