-
Hello, What is the proper way to enable local dynamic volume management? Do i just update the kube-system/local-path-config configmap or i should do something else? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 8 replies
-
You can set |
Beta Was this translation helpful? Give feedback.
-
Right. I was just thinking to have a single pvc and mount it in pods, vs
hardcode th3 directory again and again...
…On Tue, Feb 11, 2025, 7:32 PM Brad Davidson ***@***.***> wrote:
I'm still not understanding what the problem is. You can mount a host path
into as many pods or containers as you want. LocalPath PVs should work the
same as long as you ask for it to be RWX (ReadWriteMulti).
—
Reply to this email directly, view it on GitHub
<#11771 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABGHHXL26KGNZW5PVHR7ZTT2PKJB5AVCNFSM6AAAAABW6DFJUGVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTEMJVGY4TINQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
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.