Replies: 2 comments
-
From my point of view it is pinning the workload to specific node:
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Yes, you can use democratic-csi to decouple the PVC from the node and run the pod anywhere in the cluster. I have done this along with a TrueNAS instance using NFS and iSCSI, although I couldn't quite get NVMe working. I wrote about this in detail: https://blog.dalydays.com/post/kubernetes-homelab-series-part-6-storage-with-democratic-csi/ |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
https://www.talos.dev/v1.9/kubernetes-guides/configuration/local-storage/ recommends using https://github.com/rancher/local-path-provisioner which works but has a caveat of not pinning workloads to specific machines.
E.g. if I deploy something with a local-path-provisioner pvc, kubernetes doesn't guarantee that workload will always be deployed to the same node. This basically makes the pvc ephemeral unless I'm missing something.
Instead, could/should https://github.com/democratic-csi/democratic-csi be recommended as an alternative? It's local-hostpath does cause workloads to always be deployed to the node where the local-hostpath volume was originally created.
Beta Was this translation helpful? Give feedback.
All reactions