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

NameEmailUrl
Juicedata Inc.[email protected]https://juicefs.com

Source Code

Requirements

Kubernetes: >=1.14.0-0

Values

KeyTypeDefaultDescription
controller.affinityobjectHard node and soft zone anti-affinityAffinity for CSI Controller pod
controller.enabledbooltrueDefault is true
controller.leaderElection.enabledbooltrueEnable leader election of CSI Controller
controller.leaderElection.leaderElectionNamespacestring""The namespace where the leader election resource lives. Defaults to the pod namespace if not set.
controller.leaderElection.leaseDurationstring15sThe duration that non-leader candidates will wait to force acquire leadership.
controller.nodeSelectorobject{}Node selector for CSI Controller pod
controller.provisionerboolfalseDefault is false. Enable provisioner of controller service.
controller.replicasint2
controller.resources.limits.cpustring"1000m"
controller.resources.limits.memorystring"1Gi"
controller.resources.requests.cpustring"100m"
controller.resources.requests.memorystring"512Mi"
controller.service.portint9909
controller.service.trpestring"ClusterIP"
controller.terminationGracePeriodSecondsint30Grace period to allow the CSI Controller pod to shutdown before it is killed
controller.tolerationslist[{"key":"CriticalAddonsOnly","operator":"Exists"}]Tolerations for CSI Controller pod
controller.envslist[{"name": "ENABLE_APISERVER_LIST_CACHE", "value": "true"}]Envs for CSI Node Controller pods
dnsConfigobject{}
dnsPolicystring"ClusterFirstWithHostNet"
hostAliaseslist[]
image.pullPolicystring""
image.repositorystring"juicedata/juicefs-csi-driver"
image.tagstring"v0.23.0"
mountModestring"mountpod"The way JuiceFS client runs
jfsConfigDirstring"/var/lib/juicefs/config"JuiceFS config directory
jfsMountDirstring"/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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartjuicefs-csi-driver is pinned at v0.19.2 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. 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