hcloud-csi-user

by Cloudhippie

Helm chartv1.9.4App 2.24.3Apache-2.0Verified publisher

Hetzner Cloud CSI component for user clusters

About this chart

hcloud-csi-user

Hetzner Cloud CSI component for user clusters

Homepage: https://github.com/hetznercloud/csi-driver

This chart is not maintained by the upstream project and any issues with the chart should be raised here

Installing the Chart

OCI (Recommended)

helm install hcloud-csi-user oci://ghcr.io/cloudhippie/charts/hcloud-csi-user

Traditional

helm repo add cloudhippie https://cloudhippie.github.io/charts
helm repo update
helm install hcloud-csi-user cloudhippie/hcloud-csi-user

Maintainers

NameEmailUrl
tboerger[email protected]https://github.com/tboerger

Source Code

Values

KeyTypeDefaultDescription
affinityobject{"nodeAffinity":{"requiredDuringSchedulingIgnoredDuringExecution":{"nodeSelectorTerms":[{"matchExpressions":[{"key":"instance.hetzner.cloud/is-root-server","operator":"NotIn","values":["true"]},{"key":"instance.hetzner.cloud/provided-by","operator":"NotIn","values":["robot"]}]}]}}}Affinity for the daemonset
annotationsobject{}Define additional annotations
config.enableTopologybooltrueEnable topology setting
extraEnvVariableslist[]Extra environment variables for driver
extraInitContainerslist[]List of extra init containers
extraSidecarContainerslist[]List of extra sidecar containers
extraVolumeMountslist[]List of extra volume mounts
extraVolumeslist[]List of extra volumes
fullnameOverridestring""Override the fullname
image.driver.pullPolicystring"IfNotPresent"Image pull policy
image.driver.repositorystring"hetznercloud/hcloud-csi-driver"Image repository used by daemonset
image.driver.tagstring""Optional tag for the repository, defaults to app version
image.liveness.pullPolicystring"IfNotPresent"Image pull policy
image.liveness.repositorystring"registry.k8s.io/sig-storage/livenessprobe"Image repository used by daemonset
image.liveness.tagstring"v2.20.1"Optional tag for the repository
image.pullSecretslist[]Optional name of pull secret if using a private registry
image.registrar.pullPolicystring"IfNotPresent"Image pull policy
image.registrar.repositorystring"registry.k8s.io/sig-storage/csi-node-driver-registrar"Image repository used by daemonset
image.registrar.tagstring"v2.18.1"Optional tag for the repository
labelsobject{}Define additional labels
metrics.enabledbooltrueEnable metrics
metrics.internalPortint9189Internal metrics port of the service
metrics.portint9189Metrics port of the service
metrics.serviceMonitor.annotationsobject{}Additional annotations for the service monitor
metrics.serviceMonitor.enabledboolfalseEnable service monitor
metrics.serviceMonitor.honorLabelsboolfalseHonorLabels chooses the metric’s labels on collisions with target labels
metrics.serviceMonitor.intervalstringnilInterval at which metrics should be scraped
metrics.serviceMonitor.jobLabelstringnilOptional job label for the target service in Prometheus
metrics.serviceMonitor.labelsobject{}Additional labels for the service monitor
metrics.serviceMonitor.metricRelabelingslist[]List of metric relabel configs to apply to samples before ingestion
metrics.serviceMonitor.namespacestringnilNamespace for ServiceMonitor, defaults to release namespace
metrics.serviceMonitor.relabelingslist[]List of relabel configs to apply to samples before scraping
metrics.serviceMonitor.scrapeTimeoutstringnilTimeout after which the scrape is ended
nameOverridestring""Override the name
nodeSelectorobject{}Node selector for the daemonset
podSecurityContext.driverobject{"privileged":true}Security context for the driver pod
podSecurityContext.livenessobject{}Security context for the liveness-probe pod
podSecurityContext.registrarobject{}Security context for the registrar pod
priorityClassNamestring"system-cluster-critical"Priority class name for daemonset
resources.driverobject{"limits":{},"requests":{"cpu":"100m","memory":"64Mi"}}Resources for the driver pod
resources.livenessobject{"limits":{},"requests":{}}Resources for the liveness-probe pod
resources.registrarobject{"limits":{},"requests":{}}Resources for the registrar pod
securityContextobject{"fsGroup":1001}Security context for the daemonset
service.annotationsobject{}Additional annotations for the service
service.labelsobject{}Additional labels for the service
service.typestring"ClusterIP"Type of the service
serviceAccount.annotationsobject{}Define annotations for the service account
serviceAccount.createbooltrueCreate a new service account
serviceAccount.namestring""Optional name for an existing service account
tolerationslist[{"effect":"NoExecute","operator":"Exists"},{"effect":"NoSchedule","operator":"Exists"},{"key":"CriticalAddonsOnly","operator":"Exists"}]Tolerations for the daemonset
updateStrategyobject{"type":"RollingUpdate"}Updaqte strategy for daemonset

Deploy hcloud-csi-user with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has hcloud-csi-user 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 charthcloud-csi-user is pinned at v1.9.4 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