san-iscsi-csi
by ENIX
A dynamic persistent volume (PV) provisioner for iSCSI-compatible SAN based storage systems.
About this chart
san-iscsi-csi
A dynamic persistent volume (PV) provisioner for iSCSI-compatible SAN based storage systems.
Introduction
As of version 4.0.0, this csi driver and its helm chart are released as open-source projects under the Apache 2.0 license.
Your contribution is obviously most welcomed !
Homepage: https://github.com/enix/san-iscsi-csi
This helm chart
Is part of the project and is published on Enix's charts repository.
Source Code
Installing the Chart
Create a file named san-iscsi-csi.values.yaml with your values, with the help of Chart Values.
Add our Charts repository:
$ helm repo add enix https://charts.enix.io
Install the san-iscsi-csi with release name san-iscsi-csi in the san-iscsi-csi-system namespace:
$ helm install -n san-iscsi-csi-system san-iscsi-csi enix/san-iscsi-csi --values san-iscsi-csi.values.yaml
The upgrade command is used to change configuration when values are modified:
$ helm upgrade -n san-iscsi-csi-system san-iscsi-csi enix/san-iscsi-csi --values san-iscsi-csi.values.yaml
Upgrading the Chart
Update Helm repositories:
$ helm repo update
Upgrade release names san-iscsi-csi to the latest version:
$ helm upgrade san-iscsi-csi enix/san-iscsi-csi
Creating a storage class
In order to dynamically provision persistants volumes, you first need to create a storage class. To do so, please refer to the project documentation.
Maintainers
| Name | Url | |
|---|---|---|
| Enix | [email protected] | https://github.com/enixsas |
| Paul Laffitte | [email protected] | https://blog.plaffitt.com |
| Alexandre Buisine | [email protected] | |
| Arthur Chaloin | [email protected] |
Values
| Key | Type | Default | Description |
|---|---|---|---|
| controller.extraArgs | list | [] | Extra arguments for san-iscsi-csi-controller container |
| csiAttacher | object | {"extraArgs":[],"image":{"repository":"k8s.gcr.io/sig-storage/csi-attacher","tag":"v2.2.1"},"timeout":"30s"} | Controller sidecar for attachment handling |
| csiAttacher.extraArgs | list | [] | Extra arguments for csi-attacher controller sidecar |
| csiAttacher.timeout | string | "30s" | Timeout for gRPC calls from the csi-attacher to the controller |
| csiNodeRegistrar | object | {"extraArgs":[],"image":{"repository":"k8s.gcr.io/sig-storage/csi-node-driver-registrar","tag":"v2.1.0"}} | Node sidecar for plugin registration |
| csiNodeRegistrar.extraArgs | list | [] | Extra arguments for csi-node-registrar node sidecar |
| csiProvisioner | object | {"extraArgs":[],"image":{"repository":"k8s.gcr.io/sig-storage/csi-provisioner","tag":"v2.1.0"},"timeout":"30s"} | Controller sidecar for provisionning |
| csiProvisioner.extraArgs | list | [] | Extra arguments for csi-provisioner controller sidecar |
| csiProvisioner.timeout | string | "30s" | Timeout for gRPC calls from the csi-provisioner to the controller |
| csiResizer | object | {"extraArgs":[],"image":{"repository":"k8s.gcr.io/sig-storage/csi-resizer","tag":"v1.1.0"}} | Controller sidecar for volume expansion |
| csiResizer.extraArgs | list | [] | Extra arguments for csi-resizer controller sidecar |
| csiSnapshotter | object | {"extraArgs":[],"image":{"repository":"k8s.gcr.io/sig-storage/csi-snapshotter","tag":"v4.0.0"}} | Controller sidecar for snapshots handling |
| csiSnapshotter.extraArgs | list | [] | Extra arguments for csi-snapshotter controller sidecar |
| image.repository | string | "docker.io/enix/san-iscsi-csi" | Docker repository to use for nodes and controller |
| image.tag | string | The chart will use the appVersion value by default if not given. | Tag to use for nodes and controller |
| kubeletPath | string | "/var/lib/kubelet" | Path to kubelet |
| node.extraArgs | list | [] | Extra arguments for san-iscsi-csi-node containers |
| nodeLivenessProbe | object | {"extraArgs":[],"image":{"repository":"quay.io/k8scsi/livenessprobe","tag":"v2.2.0"}} | Container that convert CSI liveness probe to kubernetes liveness/readiness probe |
| nodeLivenessProbe.extraArgs | list | [] | Extra arguments for the node's liveness probe containers |
| nodeServer.nodeAffinity | string | nil | Kubernetes nodeAffinity field for san-iscsi-csi-node-server Pod |
| nodeServer.nodeSelector | string | nil | Kubernetes nodeSelector field for san-iscsi-csi-node-server Pod |
| podMonitor.enabled | bool | false | Set a Prometheus operator PodMonitor ressource (true or false) |
| pspAdmissionControllerEnabled | bool | false | Wether psp admission controller has been enabled in the cluster or not |
| serviceMonitor.enabled | bool | false | Set a Prometheus operator ServiceMonitor ressource (true or false) |
Deploy san-iscsi-csi with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has san-iscsi-csi 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 chartsan-iscsi-csi is pinned at v4.0.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