rancher / local-path-provisioner

Dynamically provisioning persistent local storage with Kubernetes
Apache License 2.0
2.18k stars 451 forks source link

adding pvc with node name example #382

Closed sebastianohl closed 4 months ago

sebastianohl commented 8 months ago

If you want to use the local path provisioner in a multi node environment, it is required to explicitly set the node name via an annotation. Unfortunally, this looks very undocumented to me. I needed to pull the right annotation label from the source code.

As minimal solution, I extended the examples with an example with a node name.

An extended version cloud also mention this in the README.