Skip to content

carina-io/charts

Repository files navigation

Install CSI driver with Helm 3

Prerequisites

add the Helm chart repository

helm repo add carina-csi-driver https://carina-io.github.io

search for all available chart versions

helm search repo -l carina-csi-driver
helm pull carina-csi-driver/carina-csi-driver --version v0.10.0

update the repository

helm repo update

Carina Disk CSI Driver V0.10.0

install a specific version

helm install carina-csi-driver carina-csi-driver/carina-csi-driver --namespace kube-system --version v0.10.0

uninstall CSI driver

helm uninstall carina-csi-driver -n kube-system

latest chart configuration

Parameters

The following table lists the configurable parameters of the latest Disk CSI Driver chart and default values.

Parameter Description Default
driver.name alternative driver name csi.carina.com
driver.attachRequired custom userAgent true
driver.podInfoOnMount userAgent suffix true
driver.volumeLifecycleModes Persistent Persistent
image.baseRepo base repository of driver images registry.cn-hangzhou.aliyuncs.com/carina
image.carina.repository carina-csi-driver docker image /carina
image.carina.tag carina-csi-driver docker image tag latest
image.carina.pullPolicy carina-csi-driver image pull policy IfNotPresent
image.csiProvisioner.repository csi-provisioner docker image /csi-provisioner
image.csiProvisioner.tag csi-provisioner docker image tag v2.1.0
image.csiProvisioner.pullPolicy csi-provisioner image pull policy IfNotPresent
image.csiAttacher.repository csi-attacher docker image /csi-attacher
image.csiAttacher.tag csi-attacher docker image tag v3.1.0
image.csiAttacher.pullPolicy csi-attacher image pull policy IfNotPresent
image.csiResizer.repository csi-resizer docker image /csi-resizer
image.csiResizer.tag csi-resizer docker image tag v1.1.0
image.csiResizer.pullPolicy csi-resizer image pull policy IfNotPresent
image.nodeDriverRegistrar.repository csi-node-driver-registrar docker image /csi-node-driver-registrar
image.nodeDriverRegistrar.tag csi-node-driver-registrar docker image tag v2.1.0
image.nodeDriverRegistrar.pullPolicy csi-node-driver-registrar image pull policy IfNotPresent
imagePullSecrets Specify docker-registry secret names as an array []
serviceAccount.create whether create service account of csi-carina-controller, csi-carina-node true
serviceAccount.controller name of service account for csi-carina-controller carina-csi-controller
serviceAccount.node name of service account for csi-carina-node carina-csi-node
rbac.create whether create rbac of csi-carina-controller true
rbac.name driver name in rbac role carina
controller.name name of driver deployment csi-carina-controller
controller.replicas the replicas of csi-carina-controller 2
controller.metricsPort metrics port of csi-carina-controller 29604
controller.httpPort httpPort port of csi-carina-controller 8089
controller.webhookPort webhookPort port of csi-carina-controller 8443
controller.tolerations controller pod tolerations
controller.podLabels controller pod podLabels
controller.hostNetwork hostNetwork setting on controller driver(could be disabled if controller does not depend on MSI setting) true
controller.resources.csiProvisioner.limits.cpu csi-provisioner cpu limits 200m
controller.resources.csiProvisioner.limits.memory csi-provisioner memory limits 500Mi
controller.resources.csiProvisioner.requests.cpu csi-provisioner cpu requests limits 10m
controller.resources.csiProvisioner.requests.memory csi-provisioner memory requests limits 20Mi
controller.resources.csiAttacher.limits.cpu csi-attacher cpu limits 200m
controller.resources.csiAttacher.limits.memory csi-attacher memory limits 500Mi
controller.resources.csiAttacher.requests.cpu csi-attacher cpu requests limits 10m
controller.resources.csiAttacher.requests.memory csi-attacher memory requests limits 20Mi
controller.resources.csiResizer.limits.cpu csi-resizer cpu limits 200m
controller.resources.csiResizer.limits.memory csi-resizer memory limits 500Mi
controller.resources.csiResizer.requests.cpu csi-resizer cpu requests limits 10m
controller.resources.csiResizer.requests.memory csi-resizer memory requests limits 20Mi
controller.resources.carina.limits.cpu carina cpu limits 300m
controller.resources.carina.limits.memory carina memory limits 500Mi
controller.resources.carina.requests.cpu carina cpu requests limits 10m
controller.resources.carina.requests.memory carina memory requests limits 20Mi
node.name name of driver daemonset csi-carina-node
node.maxUnavailable maxUnavailable value of driver node daemonset 1
node.metricsPort metrics port of csi-carina-node 29091
node.httpPort httpPort port of csi-carina-node 29090
node.kubelet configure kubelet directory path on agent node /var/lib/kubelet
node.initContainer.modprobe configure lib module(available values: dm_snapshot, dm_mirror,dm_thin_pool,bcache) dm_snapshot, dm_mirror,dm_thin_pool
node.tolerations node driver tolerations
node.podLabels node pod podLabels
node.hostNetwork hostNetwork setting on node driver(could be disabled if perfProfile is none) true
node.nodeAffinity node pod nodeAffinity
node.resources.nodeDriverRegistrar.limits.cpu csi-node-driver-registrar cpu limits 200m
node.resources.nodeDriverRegistrar.limits.memory csi-node-driver-registrar memory limits 100Mi
node.resources.nodeDriverRegistrar.requests.cpu csi-node-driver-registrar cpu requests limits 10m
node.resources.nodeDriverRegistrar.requests.memory csi-node-driver-registrar memory requests limits 20Mi
node.resources.carina.limits.cpu carina cpu limits 200m
node.resources.carina.limits.memory carina memory limits 200Mi
node.resources.carina.requests.cpu carina cpu requests limits 10m
node.resources.carina.requests.memory carina memory requests limits 20Mi
node.logDir node pod logDir /var/log/carina/
node.configDir node pod configDir /etc/carina
installCRDs install crd true
serviceMonitor.enable controller minitor serviceMonitor true
webhook.enable controller webhook true
config.schedulerStrategy Disk group name scheduling policies : binpack select the disk capacity for PV just met requests. storage node, spreadout of the most select the remaining disk capacity for PV nodes spreadout
config.diskScanInterval Disk scan interval, 0 to close the local disk scanning 300
storage.lvm.fstype storageclass config xfs
storage.lvm.disktype storageclass config lvm
storage.lvm.reclaimPolicy storageclass config Delete
storage.lvm.volumeBindingMode storageclass config WaitForFirstConsumer
storage.raw.fstype storageclass config xfs
storage.raw.disktype storageclass config raw
storage.raw.reclaimPolicy storageclass config Delete
storage.raw.volumeBindingMode storageclass config WaitForFirstConsumer

Configration

 kubectl  get configmap -l class=carina 

storageClass

 kubectl  get sc