csi-s3
by lovemew67
Helm chartv0.41.0App 0.41.0Verified publisher
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.
| Parameter | Description | Default |
|---|---|---|
storageClass.create | Specifies whether the storage class should be created | true |
storageClass.name | Storage class name | csi-s3 |
storageClass.singleBucket | Use a single bucket for all dynamically provisioned persistent volumes | |
storageClass.mounter | Mounter to use. Either geesefs, s3fs or rclone. geesefs recommended | geesefs |
storageClass.mountOptions | GeeseFS mount options | --memory-limit 1000 --dir-mode 0777 --file-mode 0666 |
storageClass.reclaimPolicy | Volume reclaim policy | Delete |
storageClass.annotations | Annotations for the storage class | |
secret.create | Specifies whether the secret should be created | true |
secret.name | Name of the secret | csi-s3-secret |
secret.accessKey | S3 Access Key | |
secret.secretKey | S3 Secret Key | |
secret.endpoint | Endpoint | https://storage.yandexcloud.net |
secret.region | Region | |
tolerations.node | Custom tolerations for the CSI-S3 node driver (mounter) | [] |
tolerations.controller | Custom 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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartcsi-s3 is pinned at v0.41.0 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