.. | ||
charts/crds | ||
templates | ||
.helmignore | ||
Chart.yaml | ||
README.md | ||
values.yaml |
OpenEBS LocalPV Provisioner
A Helm chart for openebs lvm localpv provisioner. This chart bootstraps OpenEBS LVM LocalPV provisioner deployment on a Kubernetes cluster using the Helm package manager.
Homepage: http://www.openebs.io/
Maintainers
Name | Url | |
---|---|---|
pawanpraka1 | pawan@mayadata.io | |
prateekpandey14 | prateek.pandey@mayadata.io | |
iyashu | yashpal.c1995@gmail.com |
Get Repo Info
helm repo add openebs-lvmlocalpv https://openebs.github.io/lvm-localpv
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-lvmlocalpv/lvm-localpv --namespace [NAMESPACE]
Click here if you're using MicroK8s.
microk8s helm3 install [RELEASE_NAME] openebs-lvmlocalpv/lvm-localpv --namespace [NAMESPACE] --set-string lvmNode.kubeletDir="/var/snap/microk8s/common/var/lib/kubelet/"
Note: If moving from the operator to helm
- Make sure the namespace provided in the helm install command is same as
LVM_NAMESPACE
(by default it isopenebs
) env in the controller deployment. - Before installing, clean up the stale deployment and daemonset from
kube-system
namespace using the below commands
kubectl delete deployment openebs-lvm-controller -n kube-system
kubectl delete ds openebs-lvm-node -n kube-system
See configuration below.
See helm install for command documentation.
Uninstall Chart
# Helm
$ helm uninstall [RELEASE_NAME]
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 LVM Localpv chart and their default values.
helm install openebs-lvmlocalpv openebs-lvmlocalpv/lvm-localpv --namespace openebs --create-namespace
Click here if you're using MicroK8s.
If you are using MicroK8s, it is necessary to add the following flag:
--set-string lvmNode.kubeletDir="/var/snap/microk8s/common/var/lib/kubelet/"
Parameter | Description | Default |
---|---|---|
crds.csi.volumeSnapshots.enabled |
Enable/Disable installation of VolumeSnapshot-related CRDs | true |
imagePullSecrets |
Provides image pull secret | "" |
lvmPlugin.image.registry |
Registry for openebs-lvm-plugin image | "" |
lvmPlugin.image.repository |
Image repository for openebs-lvm-plugin | openebs/lvm-driver |
lvmPlugin.image.pullPolicy |
Image pull policy for openebs-lvm-plugin | IfNotPresent |
lvmPlugin.image.tag |
Image tag for openebs-lvm-plugin | 1.3.0 |
lvmPlugin.metricsPort |
The TCP port number used for exposing lvm-metrics | 9500 |
lvmPlugin.allowedTopologies |
The comma seperated list of allowed node topologies | kubernetes.io/hostname, |
lvmNode.driverRegistrar.image.registry |
Registry for csi-node-driver-registrar image | registry.k8s.io/ |
lvmNode.driverRegistrar.image.repository |
Image repository for csi-node-driver-registrar | sig-storage/csi-node-driver-registrar |
lvmNode.driverRegistrar.image.pullPolicy |
Image pull policy for csi-node-driver-registrar | IfNotPresent |
lvmNode.driverRegistrar.image.tag |
Image tag for csi-node-driver-registrar | v2.8.0 |
lvmNode.updateStrategy.type |
Update strategy for lvmnode daemonset | RollingUpdate |
lvmNode.kubeletDir |
Kubelet mount point for lvmnode daemonset | "/var/lib/kubelet/" |
lvmNode.annotations |
Annotations for lvmnode daemonset metadata | "" |
lvmNode.podAnnotations |
Annotations for lvmnode daemonset's pods metadata | "" |
lvmNode.resources |
Resource and request and limit for lvmnode daemonset containers | "" |
lvmNode.labels |
Labels for lvmnode daemonset metadata | "" |
lvmNode.podLabels |
Appends labels to the lvmnode daemonset pods | "" |
lvmNode.nodeSelector |
Nodeselector for lvmnode daemonset pods | "" |
lvmNode.tolerations |
lvmnode daemonset's pod toleration values | "" |
lvmNode.securityContext |
Security context for lvmnode daemonset container | "" |
lvmController.resizer.image.registry |
Registry for csi-resizer image | registry.k8s.io/ |
lvmController.resizer.image.repository |
Image repository for csi-resizer | sig-storage/csi-resizer |
lvmController.resizer.image.pullPolicy |
Image pull policy for csi-resizer | IfNotPresent |
lvmController.resizer.image.tag |
Image tag for csi-resizer | v1.8.0 |
lvmController.snapshotter.image.registry |
Registry for csi-snapshotter image | registry.k8s.io/ |
lvmController.snapshotter.image.repository |
Image repository for csi-snapshotter | sig-storage/csi-snapshotter |
lvmController.snapshotter.image.pullPolicy |
Image pull policy for csi-snapshotter | IfNotPresent |
lvmController.snapshotter.image.tag |
Image tag for csi-snapshotter | v6.2.2 |
lvmController.snapshotController.image.registry |
Registry for snapshot-controller image | registry.k8s.io/ |
lvmController.snapshotController.image.repository |
Image repository for snapshot-controller | sig-storage/snapshot-controller |
lvmController.snapshotController.image.pullPolicy |
Image pull policy for snapshot-controller | IfNotPresent |
lvmController.snapshotController.image.tag |
Image tag for snapshot-controller | v6.2.2 |
lvmController.provisioner.image.registry |
Registry for csi-provisioner image | registry.k8s.io/ |
lvmController.provisioner.image.repository |
Image repository for csi-provisioner | sig-storage/csi-provisioner |
lvmController.provisioner.image.pullPolicy |
Image pull policy for csi-provisioner | IfNotPresent |
lvmController.provisioner.image.tag |
Image tag for csi-provisioner | v3.5.0 |
lvmController.updateStrategy.type |
Update strategy for lvm localpv controller deployment | RollingUpdate |
lvmController.annotations |
Annotations for lvm localpv controller deployment metadata | "" |
lvmController.podAnnotations |
Annotations for lvm localpv controller deployment's pods metadata | "" |
lvmController.resources |
Resource and request and limit for lvm localpv controller deployment containers | "" |
lvmController.labels |
Labels for lvm localpv controller deployment metadata | "" |
lvmController.podLabels |
Appends labels to the lvm localpv controller deployment pods | "" |
lvmController.nodeSelector |
Nodeselector for lvm localpv controller deployment pods | "" |
lvmController.tolerations |
lvm localpv controller deployment's pod toleration values | "" |
lvmController.topologySpreadConstraints |
lvm localpv controller deployment's pod topologySpreadConstraints values | "" |
lvmController.securityContext |
Security context for lvm localpv controller deployment container | "" |
rbac.pspEnabled |
Enable PodSecurityPolicy | false |
serviceAccount.lvmNode.create |
Create a service account for lvmnode or not | true |
serviceAccount.lvmNode.name |
Name for the lvmnode service account | openebs-lvm-node-sa |
serviceAccount.lvmController.create |
Create a service account for lvm localpv controller or not | true |
serviceAccount.lvmController.name |
Name for the lvm localpv controller service account | openebs-lvm-controller-sa |
analytics.enabled |
Enable or Disable google analytics for the controller | true |
Specify each parameter using the --set key=value[,key=value]
argument to helm install
.
Alternatively, 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 openebs/lvm-localpv
Tip
: You can use the default values.yaml