|
| 1 | +# OpenEBS LocalPV Provisioner |
| 2 | + |
| 3 | +[](https://opensource.org/licenses/Apache-2.0) |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | +A Helm chart for openebs dynamic localpv provisioner. This chart bootstraps OpenEBS Dynamic LocalPV provisioner deployment on a [Kubernetes](http://kubernetes.io) cluster using the [Helm](https://helm.sh) package manager. |
| 8 | + |
| 9 | + |
| 10 | +**Homepage:** <http://www.openebs.io/> |
| 11 | + |
| 12 | +## Maintainers |
| 13 | + |
| 14 | +| Name | Email | Url | |
| 15 | +| ---- | ------ | --- | |
| 16 | +| akhilerm | [email protected] | | |
| 17 | +| kiranmova | [email protected] | | |
| 18 | +| prateekpandey14 | [email protected] | | |
| 19 | + |
| 20 | + |
| 21 | +## Get Repo Info |
| 22 | + |
| 23 | +```console |
| 24 | +helm repo add openebs-localpv https://openebs.github.io/dynamic-localpv-provisioner |
| 25 | +helm repo update |
| 26 | +``` |
| 27 | + |
| 28 | +_See [helm repo](https://helm.sh/docs/helm/helm_repo/) for command documentation._ |
| 29 | + |
| 30 | +## Install Chart |
| 31 | + |
| 32 | +Please visit the [link](https://openebs.github.io/dynamic-localpv-provisioner/) for install instructions via helm3. |
| 33 | + |
| 34 | +```console |
| 35 | +# Helm |
| 36 | +$ helm install [RELEASE_NAME] openebs-localpv/localpv-provisioner |
| 37 | +``` |
| 38 | + |
| 39 | +_See [configuration](#configuration) below._ |
| 40 | + |
| 41 | +_See [helm install](https://helm.sh/docs/helm/helm_install/) for command documentation._ |
| 42 | + |
| 43 | +## Dependencies |
| 44 | + |
| 45 | +By default this chart installs additional, dependent charts: |
| 46 | + |
| 47 | +| Repository | Name | Version | |
| 48 | +|------------|------|---------| |
| 49 | +| https://openebs.github.io/node-disk-manager | openebs-ndm | 1.0.2 | |
| 50 | + |
| 51 | + |
| 52 | +To disable the dependency during installation, set `openebsNDM.enabled` to `false`. |
| 53 | + |
| 54 | +_See [helm dependency](https://helm.sh/docs/helm/helm_dependency/) for command documentation._ |
| 55 | + |
| 56 | +## Uninstall Chart |
| 57 | + |
| 58 | +```console |
| 59 | +# Helm |
| 60 | +$ helm uninstall [RELEASE_NAME] |
| 61 | +``` |
| 62 | + |
| 63 | +This removes all the Kubernetes components associated with the chart and deletes the release. |
| 64 | + |
| 65 | +_See [helm uninstall](https://helm.sh/docs/helm/helm_uninstall/) for command documentation._ |
| 66 | + |
| 67 | +## Upgrading Chart |
| 68 | + |
| 69 | +```console |
| 70 | +# Helm |
| 71 | +$ helm upgrade [RELEASE_NAME] [CHART] --install |
| 72 | +``` |
| 73 | + |
| 74 | + |
| 75 | +## Configuration |
| 76 | + |
| 77 | +The following table lists the configurable parameters of the OpenEBS LocalPV Provisioner chart and their default values. |
| 78 | + |
| 79 | +| Parameter | Description | Default | |
| 80 | +| ------------------------------------------- | --------------------------------------------- | ----------------------------------------- | |
| 81 | +| `release.version` | LocalPV Provisioner release version | `2.4.0` | |
| 82 | +| `analytics.enabled` | Enable sending stats to Google Analytics | `true` | |
| 83 | +| `analytics.pingInterval` | Duration(hours) between sending ping stat | `24h` | |
| 84 | +| `imagePullSecrets` | Provides image pull secrect | `""` | |
| 85 | +| `localpv.enabled` | Enable LocalPV Provisioner | `true` | |
| 86 | +| `localpv.image.registry` | Registry for LocalPV Provisioner image | `""` | |
| 87 | +| `localpv.image.repository` | Image repository for LocalPV Provisioner | `openebs/localpv-provisioner` | |
| 88 | +| `localpv.image.pullPolicy` | Image pull policy for LocalPV Provisioner | `IfNotPresent` | |
| 89 | +| `localpv.image.tag` | Image tag for LocalPV Provisioner | `2.4.0` | |
| 90 | +| `localpv.updateStrategy.type` | Update strategy for LocalPV Provisioner | `RollingUpdate` | |
| 91 | +| `localpv.annotations` | Annotations for LocalPV Provisioner metadata | `""` | |
| 92 | +| `localpv.podAnnotations` | Annotations for LocalPV Provisioner pods metadata | `""` | |
| 93 | +| `localpv.privileged` | Run LocalPV Provisioner with extra privileges | `true` | |
| 94 | +| `localpv.resources` | Resource and request and limit for containers | `""` | |
| 95 | +| `localpv.podLabels` | Appends labels to the pods | `""` | |
| 96 | +| `localpv.nodeSelector` | Nodeselector for LocalPV Provisioner pods | `""` | |
| 97 | +| `localpv.tolerations` | LocalPV Provisioner pod toleration values | `""` | |
| 98 | +| `localpv.securityContext` | Seurity context for container | `""` | |
| 99 | +| `localpv.healthCheck.initialDelaySeconds` | Delay before liveness probe is initiated | `30` | |
| 100 | +| `localpv.healthCheck.periodSeconds` | How often to perform the liveness probe | `60` | |
| 101 | +| `localpv.replicas` | No. of LocalPV Provisioner replica | `1` | |
| 102 | +| `localpv.enableLeaderElection` | Enable leader election | `true` | |
| 103 | +| `localpv.basePath` | BasePath for hostPath volumes on Nodes | `"/var/openebs/local"` | |
| 104 | +| `localpv.affinity` | LocalPV Provisioner pod affinity | `{}` | |
| 105 | +| `helperPod.image.registry` | Registry for helper image | `""` | |
| 106 | +| `helperPod.image.repository` | Image for helper pod | `"openebs/linux-utils"` | |
| 107 | +| `helperPod.image.pullPolicy` | Pull policy for helper pod | `"IfNotPresent"` | |
| 108 | +| `helperPod.image.tag` | Image tag for helper image | `2.4.0` | |
| 109 | +| `rbac.create` | Enable RBAC Resources | `true` | |
| 110 | +| `rbac.pspEnabled` | Create pod security policy resources | `false` | |
| 111 | +| `openebsNDM.enabled` | Install openebs NDM dependency | `true` | |
| 112 | + |
| 113 | + |
| 114 | +Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. |
| 115 | + |
| 116 | +Alternatively, a YAML file that specifies the values for the parameters can be provided while installing the chart. For example, |
| 117 | + |
| 118 | +```bash |
| 119 | +helm install <release-name> -f values.yaml --namespace openebs localpv-provisioner |
| 120 | +``` |
| 121 | + |
| 122 | +> **Tip**: You can use the default [values.yaml](values.yaml) |
0 commit comments