localpv-provisioner

by Cookielab s.r.o.

Helm chartv4.0.0App 4.0.0Verified publisher

Helm chart for OpenEBS Dynamic Local PV. For instructions to install OpenEBS Dynamic Local PV using helm chart, refer to https://openebs.github.io/dynamic-localpv-provisioner/.

About this chart

OpenEBS LocalPV Provisioner

A Helm chart for openebs dynamic localpv provisioner. This chart bootstraps OpenEBS Dynamic LocalPV provisioner deployment on a Kubernetes cluster using the Helm package manager.

Homepage: http://www.openebs.io/

Get Repo Info

helm repo add openebs-localpv https://openebs.github.io/dynamic-localpv-provisioner
helm repo update

See helm repo for command documentation.

Install Chart

Please visit the link for install instructions via helm3.

# Helm
helm install [RELEASE_NAME] openebs-localpv/localpv-provisioner --namespace [NAMESPACE] --create-namespace

See configuration below.

See helm install for command documentation.

Uninstall Chart

# Helm
helm uninstall [RELEASE_NAME] --namespace [NAMESPACE]

This removes all the Kubernetes components associated with the chart and deletes the release.

See helm uninstall for command documentation.

Upgrading Chart

# Helm
helm upgrade [RELEASE_NAME] [CHART] --install --namespace [NAMESPACE]

Configuration

The following table lists the configurable parameters of the OpenEBS Dynamic LocalPV Provisioner chart and their default values.

You can modify different parameters by specifying the desired value in the helm install command by using the --set and/or the --set-string flag(s).

helm install openebs-localpv openebs-localpv/localpv-provisioner --namespace openebs --create-namespace

Sample command to install the provisioner with nodeAffinityLabels "openebs.io/node-affinity-key-1" and "openebs.io/node-affinity-key-2" on the hostpath StorageClass:

helm install openebs-localpv openebs-localpv/localpv-provisioner --namespace openebs --create-namespace \
	--set-string hostpathClass.nodeAffinityLabels="{openebs.io/node-affinity-key-1,openebs.io/node-affinity-key-2}"
ParameterDescriptionDefault
release.versionLocalPV Provisioner release version4.0.0
analytics.enabledEnable sending stats to Google Analyticstrue
analytics.pingIntervalDuration(hours) between sending ping stat24h
helperPod.image.registryRegistry for helper image""
helperPod.image.repositoryImage for helper pod"openebs/linux-utils"
helperPod.image.pullPolicyPull policy for helper pod"IfNotPresent"
helperPod.image.tagImage tag for helper image4.0.0
hostpathClass.basePathBasePath for openebs-hostpath StorageClass"/var/openebs/local"
hostpathClass.enabledEnables creation of default Hostpath StorageClasstrue
hostpathClass.isDefaultClassMake openebs-hostpath the default StorageClass"false"
hostpathClass.nodeAffinityLabelsCustom node label(or labels) key to uniquely identify nodes. kubernetes.io/hostname is the default label key for node selection.[]
hostpathClass.xfsQuota.enabledEnable XFS Quota (requires XFS filesystem)false
hostpathClass.ext4Quota.enabledEnable EXT4 Quota (requires EXT4 filesystem)false
hostpathClass.reclaimPolicyReclaimPolicy for Hostpath PVs"Delete"
imagePullSecretsProvides image pull secrect""
localpv.enabledEnable LocalPV Provisionertrue
localpv.image.registryRegistry for LocalPV Provisioner image""
localpv.image.repositoryImage repository for LocalPV Provisioneropenebs/localpv-provisioner
localpv.image.pullPolicyImage pull policy for LocalPV ProvisionerIfNotPresent
localpv.image.tagImage tag for LocalPV Provisioner4.0.0
localpv.updateStrategy.typeUpdate strategy for LocalPV ProvisionerRollingUpdate
localpv.annotationsAnnotations for LocalPV Provisioner metadata""
localpv.podAnnotationsAnnotations for LocalPV Provisioner pods metadata""
localpv.privilegedRun LocalPV Provisioner with extra privilegestrue
localpv.resourcesResource and request and limit for containers""
localpv.podLabelsAppends labels to the pods""
localpv.nodeSelectorNodeselector for LocalPV Provisioner pods""
localpv.tolerationsLocalPV Provisioner pod toleration values""
localpv.securityContextSeurity context for container""
localpv.healthCheck.initialDelaySecondsDelay before liveness probe is initiated30
localpv.healthCheck.periodSecondsHow often to perform the liveness probe60
localpv.replicasNo. of LocalPV Provisioner replica1
localpv.enableLeaderElectionEnable leader electiontrue
localpv.affinityLocalPV Provisioner pod affinity{}
rbac.createEnable RBAC Resourcestrue
rbac.pspEnabledCreate pod security policy resourcesfalse

A YAML file that specifies the values for the parameters can be provided while installing the chart. For example,

helm install <release-name> -f values.yaml --namespace openebs openebs-localpv/localpv-provisioner

Tip: You can use the default values.yaml

Deploy localpv-provisioner with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has localpv-provisioner 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 chartlocalpv-provisioner is pinned at v4.0.0 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