shared-volume
by SVTECH-NMAA
Helm chartv1.1.1App v1.0.0Verified publisher
Shared Longhorn volume
About this chart
Shared Volume Chart
-
Change
storageClassinvalues.yamlto use seaweedfs or hostpath pv -
IF: you use host path pv, the host path will be:
/opt/shared/<namespace>/<namespace>-<pv-name> -
IF: you use seaweedfs, there are 2 ways to approach the data:
- API
- Filer path:
<namespace>/api/
- Filer path:
- PV mount
- Filer path:
<namespace>/csi/<namespace>-<pv-name> - Host path: use
mount | grep <namespace>-<pv-name>to find mount path of the pv on the host. It will be something like/var/lib/kubelet/plugins/kubernetes.io/csi/seaweedfs-csi-driver/<random-id>/globalmount
- Filer path:
- API
-
Tree level of Seaweedfs Filer
+--- <namespace_1>
| +--- api
| +--- <data_uploaded_via_api>
| +--- csi
| +--- <namespace_1>-<pv-name>
+--- <namespace_2>
| +--- api
| +--- <data_uploaded_via_api>
| +--- csi
| +--- <namespace_2>-<pv-name>
Deploy shared-volume with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has shared-volume on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartshared-volume is pinned at v1.1.1 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply