csi-s3

by zyfyy

Helm chartv0.43.7App 0.43.7

Container Storage Interface (CSI) driver for S3 volumes

About this chart

Helm chart for csi-s3

This chart adds S3 volume support to your cluster.

Install chart

  • Helm 2.x: helm install [--set secret.accessKey=... --set secret.secretKey=... ...] --namespace kube-system --name csi-s3 .
  • Helm 3.x: helm install [--set secret.accessKey=... --set secret.secretKey=... ...] --namespace kube-system csi-s3 .

After installation succeeds, you can get a status of Chart: helm status csi-s3.

Delete Chart

  • Helm 2.x: helm delete --purge csi-s3
  • Helm 3.x: helm uninstall csi-s3 --namespace kube-system

Configuration

By default, this chart creates a secret and a storage class. You should at least set secret.accessKey and secret.secretKey to your Yandex Object Storage keys for it to work.

The following table lists all configuration parameters and their default values.

ParameterDescriptionDefault
storageClass.createSpecifies whether the storage class should be createdtrue
storageClass.nameStorage class namecsi-s3
storageClass.singleBucketUse a single bucket for all dynamically provisioned persistent volumes
storageClass.mounterMounter to use. Either geesefs, s3fs or rclone. geesefs recommendedgeesefs
storageClass.mountOptionsGeeseFS mount options--memory-limit 1000 --dir-mode 0777 --file-mode 0666
storageClass.reclaimPolicyVolume reclaim policyDelete
storageClass.annotationsAnnotations for the storage class
secret.createSpecifies whether the secret should be createdtrue
secret.nameName of the secretcsi-s3-secret
secret.accessKeyS3 Access Key
secret.secretKeyS3 Secret Key
secret.endpointEndpointhttps://storage.yandexcloud.net
secret.regionRegion
tolerations.allTolerate all taints by the CSI-S3 node driver (mounter)false
tolerations.nodeCustom tolerations for the CSI-S3 node driver (mounter)[]
tolerations.controllerCustom tolerations for the CSI-S3 controller (provisioner)[]

Deploy csi-s3 with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has csi-s3 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 chartcsi-s3 is pinned at v0.43.7 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