Open fornof opened 5 months ago
@fornof Did you change the kubelet dir for the microk8s while installing zfs?
--set zfs-localpv.zfsNode.kubeletDir=/var/snap/microk8s/common/var/lib/kubelet/
@fornof can you provide the information sought by @Abhinandan-Purkait here? https://github.com/openebs/zfs-localpv/issues/547#issuecomment-2202089035
Meanwhile, we could fix documentation to cover these steps: https://github.com/openebs/zfs-localpv?tab=readme-ov-file#installation
This can be closed as I am no longer working on getting zfs mounts for microk8s, I ended up just using docker compose for persistent storage/ host storage . But no , i did not change the mount point
Sure @fornof Feel free to reopen this if you come by this again. Thanks
Can we keep this opened to track the doc changes?
@avishnu We already have this documented in the repo readme. https://github.com/openebs/zfs-localpv?tab=readme-ov-file#installation
We can reopen this if we feel it's needed to be added in the docs website. Probably an issue to track this on the website repo would be better place wdyt?
Yes, it's not updated in the documentation clearly.
Have reopened this. cc @balaharish7
This issue is documented in #499.
What steps did you take and what happened: [A clear and concise description of what the bug is, and what commands you ran.]
https://github.com/openebs/zfs-localpv/issues/235 this is about what I'm running into, but I didn't see how to solve it in the ticket:
I tried again using a deployment mount and I get:
persistent volume:
{ "apiVersion": "v1", "items": [ { "apiVersion": "v1", "kind": "PersistentVolumeClaim", "metadata": { "creationTimestamp": "2024-06-22T16:59:42Z", "finalizers": [ "kubernetes.io/pvc-protection" ], "labels": { "app.kubernetes.io/component": "primary", "app.kubernetes.io/instance": "postgres-bitnami", "app.kubernetes.io/name": "postgresql" }, "name": "data-postgres-bitnami-postgresql-0", "namespace": "db", "resourceVersion": "17057302", "uid": "9a5bb71b-76d0-4a91-a84b-78eb5f9790ee" }, "spec": { "accessModes": [ "ReadWriteOnce" ], "resources": { "requests": { "storage": "8Gi" } }, "volumeMode": "Filesystem" }, "status": { "phase": "Pending" } }, { "apiVersion": "v1", "kind": "PersistentVolumeClaim", "metadata": { "annotations": { "kubectl.kubernetes.io/last-applied-configuration": "{\"apiVersion\":\"v1\",\"kind\":\"PersistentVolumeClaim\",\"metadata\":{\"annotations\":{},\"name\":\"postgres-fornof-zfs-pvc\",\"namespace\":\"db\"},\"spec\":{\"accessModes\":[\"ReadWriteOnce\"],\"resources\":{\"requests\":{\"storage\":\"76Gi\"}},\"storageClassName\":\"openebs-zfspv-fornof\"}}\n", "pv.kubernetes.io/bind-completed": "yes", "pv.kubernetes.io/bound-by-controller": "yes", "volume.beta.kubernetes.io/storage-provisioner": "zfs.csi.openebs.io", "volume.kubernetes.io/storage-provisioner": "zfs.csi.openebs.io" }, "creationTimestamp": "2024-06-22T17:14:01Z", "finalizers": [ "kubernetes.io/pvc-protection" ], "name": "postgres-fornof-zfs-pvc", "namespace": "db", "resourceVersion": "17059608", "uid": "3da01b7f-3eb3-427d-943d-42758527c8f2" }, "spec": { "accessModes": [ "ReadWriteOnce" ], "resources": { "requests": { "storage": "76Gi" } }, "storageClassName": "openebs-zfspv-fornof", "volumeMode": "Filesystem", "volumeName": "pvc-3da01b7f-3eb3-427d-943d-42758527c8f2" }, "status": { "accessModes": [ "ReadWriteOnce" ], "capacity": { "storage": "76Gi" }, "phase": "Bound" } } ], "kind": "List", "metadata": { "resourceVersion": "" } }
NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS VOLUMEATTRIBUTESCLASS AGE data-postgres-bitnami-postgresql-0 Pending