Skip to content

Best practice for configMaps with local provisioner #11771

Answered by brandond
az-z asked this question in Q&A
Discussion options

You must be logged in to vote

Yeah but if you have a specific directory that you want mounted, that is not what local path provisioner is for. It PROVISIONS new directories in response to an unbound claim.

If you have an existing directory to use, create a HostPath PV and mount that in your pods. You only need to define the volume once.

Replies: 2 comments 8 replies

Comment options

You must be logged in to vote
6 replies
@brandond
Comment options

@az-z
Comment options

@brandond
Comment options

@az-z
Comment options

@brandond
Comment options

Comment options

You must be logged in to vote
2 replies
@brandond
Comment options

Answer selected by az-z
@az-z
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants