Has anyone tried to get OpenEBS cStor working for storage #6786
Replies: 2 comments 2 replies
-
Update: Apparently the issue I'm having is a known cStor issue on >= K8s 1.25: openebs-archive/cstor-operators#435 |
Beta Was this translation helpful? Give feedback.
-
Could you |
Beta Was this translation helpful? Give feedback.
-
Hi all.
I'm trying to get a production ready Talos cluster build working. I'm a bit stuck on storage and backups. I need to have backups go to storage external to the cluster (e.g. S3). I think I have rounded the options down to:
But why not...
to use for low capacity workloads. The snapshot and storage management
features of the other cStor engine are more advanced and is recommended when
snapshots are a need." - GRRRR
said snapshots to remote storage.
I have used Longhorn on Rancher on RKE2 on Ubuntu and it was quite good. It has it's own built-in backup facility to send to S3 storage. There are active bug reports where people are working on getting Longhorn working on Talos so I haven't yet tried it myself.
I spent a little time getting Rook/Ceph working on Talos and, for storage, it seems like a great solution. The issue I had though was backups. Velero is able to tell Rook to create snapshots, which rook dutifully does but there is no mechanism (yet) for taking those snapshots and sending them to S3 storage.
Next test is with OpenEBS cStor. I am able to get cStor installed from the Helm charts. I have modified and applied the iscsiadm ConfigMap from the OpenEBS-Jiva instructions (https://www.talos.dev/v1.3/kubernetes-guides/configuration/replicated-local-storage-with-openebs-jiva/). I have patched the daemonset with
hostPID: true
. I can create a storage pool and a storage class. I try to provision a pod that consumes a PV and... no good.I can see that a zfs volume is created for the PV. It looks to me like the iSCSI Target is being created. The iSCSI client doesn't seem to do it's part though. I can't work out why. The closest thing to an error message I can find in the logs is:
This looks ridiculous for a show stopper. I can't find any pods that match the selector "openebs.io/cstor-disk-pool-9ffx=true,openebs.io/cstor-disk-pool-gwv8=true,openebs.io/cstor-disk-pool-vjw6=true", so, the message is correct. Is my issue simply that some pods didn't get labels when they were provisioned?
What have others done for storage and backups? Has anyone gotten OpenEBS cStor working on Talos?
Any help that can be provided would be much appreciated, and, if possible, reciprocated.
Cheers.
Shaun.
Beta Was this translation helpful? Give feedback.
All reactions