local-path-provisioner icon indicating copy to clipboard operation
local-path-provisioner copied to clipboard

Node label for path to use

Open michaelandrepearce opened this issue 5 years ago • 1 comments

Is it possible rather where path to use is not the default one, from what i understand you have to define this then in the config and having to keep the config in sync with nodes.

Is it possible to use a label on the node to define if it uses the default or a custom config on that node, similar in nature to longhorn which also just uses filepaths ?

E.g. a bit like https://longhorn.io/docs/1.0.2/advanced-resources/default-disk-and-node-config/

michaelandrepearce avatar Nov 28 '20 09:11 michaelandrepearce

Yeah, it's possible. Local path provisioner will need to have read permission for the nodes to get the annotations from nodes and have a setting in the config map to enable it. It will need some design and effort to make it work. PRs are welcome!

yasker avatar Nov 30 '20 20:11 yasker