local-path-provisioner

by Helm

Helm chartv0.0.23App v0.0.23

Use HostPath for persistent local storage with Kubernetes

About this chart

local-path-provisioner

Use HostPath for persistent local storage with Kubernetes

Installing the Chart

To install the chart with the release name local-path-provisioner:

$ helm repo add c7n https://openchart.choerodon.com.cn/choerodon/c7n
$ helm repo update
$ helm install local-path-provisioner c7n/local-path-provisioner

Specify each parameter using the --set key=value[,key=value] argument to helm install.

Uninstalling the Chart

$ helm delete local-path-provisioner

Requirements

Kubernetes: >=1.12.0-r0

Values

KeyTypeDefaultDescription
affinityobject{}
configmap.namestring"local-path-config"
configmap.setupstring"#!/bin/sh\nset -eu\nmkdir -m 0777 -p \"$VOL_DIR\""
configmap.teardownstring"#!/bin/sh\nset -eu\nrm -rf \"$VOL_DIR\""
defaultSettings.registrySecretstringnil
fullnameOverridestring""
helperImage.repositorystring"registry.cn-shanghai.aliyuncs.com/c7n/busybox"
helperImage.tagstring"latest"
image.pullPolicystring"IfNotPresent"
image.repositorystring"registry.cn-shanghai.aliyuncs.com/c7n/local-path-provisioner"
image.tagstring"v0.0.23"
imagePullSecretslist[]
nameOverridestring""
nodePathMap[0].nodestring"DEFAULT_PATH_FOR_NON_LISTED_NODES"
nodePathMap[0].paths[0]string"/opt/local-path-provisioner"
nodeSelectorobject{}
privateRegistry.registryPasswdstringnil
privateRegistry.registryUrlstringnil
privateRegistry.registryUserstringnil
rbac.createbooltrue
replicaCountint1
resourcesobject{}
serviceAccount.createbooltrue
serviceAccount.namestringnil
storageClass.createbooltrue
storageClass.defaultClassboolfalse
storageClass.namestring"local-path"
storageClass.reclaimPolicystring"Delete"
tolerationslist[]

Deploy local-path-provisioner with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has local-path-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 chartlocal-path-provisioner is pinned at v0.0.23 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