juicefs-csi-driver
by KubeGems
Helm chartv0.19.2App 0.23.0
A Helm chart for JuiceFS CSI Driver
About this chart
juicefs-csi-driver
A Helm chart for JuiceFS CSI Driver
Homepage: https://github.com/juicedata/juicefs-csi-driver
Maintainers
| Name | Url | |
|---|---|---|
| Juicedata Inc. | [email protected] | https://juicefs.com |
Source Code
Requirements
Kubernetes: >=1.14.0-0
Values
| Key | Type | Default | Description |
|---|---|---|---|
| controller.affinity | object | Hard node and soft zone anti-affinity | Affinity for CSI Controller pod |
| controller.enabled | bool | true | Default is true |
| controller.leaderElection.enabled | bool | true | Enable leader election of CSI Controller |
| controller.leaderElection.leaderElectionNamespace | string | "" | The namespace where the leader election resource lives. Defaults to the pod namespace if not set. |
| controller.leaderElection.leaseDuration | string | 15s | The duration that non-leader candidates will wait to force acquire leadership. |
| controller.nodeSelector | object | {} | Node selector for CSI Controller pod |
| controller.provisioner | bool | false | Default is false. Enable provisioner of controller service. |
| controller.replicas | int | 2 | |
| controller.resources.limits.cpu | string | "1000m" | |
| controller.resources.limits.memory | string | "1Gi" | |
| controller.resources.requests.cpu | string | "100m" | |
| controller.resources.requests.memory | string | "512Mi" | |
| controller.service.port | int | 9909 | |
| controller.service.trpe | string | "ClusterIP" | |
| controller.terminationGracePeriodSeconds | int | 30 | Grace period to allow the CSI Controller pod to shutdown before it is killed |
| controller.tolerations | list | [{"key":"CriticalAddonsOnly","operator":"Exists"}] | Tolerations for CSI Controller pod |
| controller.envs | list | [{"name": "ENABLE_APISERVER_LIST_CACHE", "value": "true"}] | Envs for CSI Node Controller pods |
| dnsConfig | object | {} | |
| dnsPolicy | string | "ClusterFirstWithHostNet" | |
| hostAliases | list | [] | |
| image.pullPolicy | string | "" | |
| image.repository | string | "juicedata/juicefs-csi-driver" | |
| image.tag | string | "v0.23.0" | |
| mountMode | string | "mountpod" | The way JuiceFS client runs |
| jfsConfigDir | string | "/var/lib/juicefs/config" | JuiceFS config directory |
| jfsMountDir | string | "/var/lib/juicefs/volume" | JuiceFS mount directory |
Deploy juicefs-csi-driver with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has juicefs-csi-driver 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 chartjuicefs-csi-driver is pinned at v0.19.2 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