Closed Frodothedwarf closed 9 months ago
AFAIK Hetzner Cloud Volumes do not support ReadWriteMany, you should use Longhorn instead.
It is data that scale much, so I am worried about the space on the servers. Do you know what performance i could expect from a storage box?
You can still use Cloud Volumes via Longhorn. For database storage I would recommend using local node storage (which is NVME, cloud volumes use SSD-s).
Hold would I configure this? So I can ensure it is using the cloud volume? It is avatar files.
You can set longhorn_volume_size
for a node pool to something other than 0 (depending on how much storage you need). This will create a cloud volume which longhorn can use. Then you need to create a storage class which will use this storage.
You should look at the comments in kube.tf and search issues and discussions of this project for more info. Here are some I found by searching for Longhorn in this repo: https://github.com/kube-hetzner/terraform-hcloud-kube-hetzner/discussions/957 https://gist.github.com/ifeulner/d311b2868f6c00e649f33a72166c2e5b
@Frodothedwarf Please follow the good advice above from @transmogrifix, and also search this project, others have had similar issues. Moving this to a discussion.
Description
I am trying to mount the Hetzner Volume i created but the mount keeps failing on RWX, i tried downgrading the nfs-client as other bugs reported with no luck.
I tried creating with ReadWriteOnce, that did work.
This is my PVC: `apiVersion: v1 kind: PersistentVolumeClaim metadata: name: avatar-pv-claim spec: storageClassName: hcloud-volumes accessModes:
Describe from PVC:
Kube.tf file
Screenshots
No response
Platform
Mac