san-iscsi-csi

by ENIX

Helm chartv4.0.2App v4.0.2Apache-2.0Verified publisher

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

NameEmailUrl
Enix[email protected]https://github.com/enixsas
Paul Laffitte[email protected]https://blog.plaffitt.com
Alexandre Buisine[email protected]
Arthur Chaloin[email protected]

Values

KeyTypeDefaultDescription
controller.extraArgslist[]Extra arguments for san-iscsi-csi-controller container
csiAttacherobject{"extraArgs":[],"image":{"repository":"k8s.gcr.io/sig-storage/csi-attacher","tag":"v2.2.1"},"timeout":"30s"}Controller sidecar for attachment handling
csiAttacher.extraArgslist[]Extra arguments for csi-attacher controller sidecar
csiAttacher.timeoutstring"30s"Timeout for gRPC calls from the csi-attacher to the controller
csiNodeRegistrarobject{"extraArgs":[],"image":{"repository":"k8s.gcr.io/sig-storage/csi-node-driver-registrar","tag":"v2.1.0"}}Node sidecar for plugin registration
csiNodeRegistrar.extraArgslist[]Extra arguments for csi-node-registrar node sidecar
csiProvisionerobject{"extraArgs":[],"image":{"repository":"k8s.gcr.io/sig-storage/csi-provisioner","tag":"v2.1.0"},"timeout":"30s"}Controller sidecar for provisionning
csiProvisioner.extraArgslist[]Extra arguments for csi-provisioner controller sidecar
csiProvisioner.timeoutstring"30s"Timeout for gRPC calls from the csi-provisioner to the controller
csiResizerobject{"extraArgs":[],"image":{"repository":"k8s.gcr.io/sig-storage/csi-resizer","tag":"v1.1.0"}}Controller sidecar for volume expansion
csiResizer.extraArgslist[]Extra arguments for csi-resizer controller sidecar
csiSnapshotterobject{"extraArgs":[],"image":{"repository":"k8s.gcr.io/sig-storage/csi-snapshotter","tag":"v4.0.0"}}Controller sidecar for snapshots handling
csiSnapshotter.extraArgslist[]Extra arguments for csi-snapshotter controller sidecar
image.repositorystring"docker.io/enix/san-iscsi-csi"Docker repository to use for nodes and controller
image.tagstringThe chart will use the appVersion value by default if not given.Tag to use for nodes and controller
kubeletPathstring"/var/lib/kubelet"Path to kubelet
node.extraArgslist[]Extra arguments for san-iscsi-csi-node containers
nodeLivenessProbeobject{"extraArgs":[],"image":{"repository":"quay.io/k8scsi/livenessprobe","tag":"v2.2.0"}}Container that convert CSI liveness probe to kubernetes liveness/readiness probe
nodeLivenessProbe.extraArgslist[]Extra arguments for the node's liveness probe containers
nodeServer.nodeAffinitystringnilKubernetes nodeAffinity field for san-iscsi-csi-node-server Pod
nodeServer.nodeSelectorstringnilKubernetes nodeSelector field for san-iscsi-csi-node-server Pod
podMonitor.enabledboolfalseSet a Prometheus operator PodMonitor ressource (true or false)
pspAdmissionControllerEnabledboolfalseWether psp admission controller has been enabled in the cluster or not
serviceMonitor.enabledboolfalseSet 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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartsan-iscsi-csi is pinned at v4.0.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