Lightbits Helm Repository

AI Tools

Adding the Lightbits Helm Repository

helm repo add lightbits-helm-repo https://dl.lightbitslabs.com/public/lightos-csi/helm/charts/ helm repo update

Listing Helm Repositories

helm repo list NAME URL lightbits-helm-repo https://dl.lightbitslabs.com/public/lightos-csi/helm/charts/

Listing All Packages from the Lightbits Helm Repository

helm search repo lightbits-helm-repo NAME CHART VERSION APP VERSION DESCRIPTION lightbits-helm-repo/lb-csi-plugin 0.20.0 1.22.0 Helm Chart for Lightbits CSI Plugin. lightbits-helm-repo/lb-csi-workload-examples 0.20.0 1.22.0 Helm Chart for Lightbits CSI Workload Examples. lightbits-helm-repo/snapshot-controller-3 0.20.0 3.0.3 Deploy snapshot-controller for K8s version < v1.20 lightbits-helm-repo/snapshot-controller-4 0.20.0 4.2.1 Deploy snapshot-controller for K8s version >= v1.20

Deploying Snapshot-Controller On the Kubernetes Cluster

For additional information, see: kubernetes-csi#snapshot-controller

Volume snapshot is managed by a controller named Snapshot-Controller.

Kubernetes admins should bundle and deploy the controller and CRDs as part of their Kubernetes cluster management process (independent of any CSI driver).

If your cluster does not come pre-installed with the correct components, you can manually install these components by executing these these steps

For convenience, we provide Helm Charts to deploy snapshot-controller,

The following are the CRDs and RBAC rules:

k8s/ lightbits-helm-repo/snapshot-controller-3 0.19.0 3.0.3 Deploy snapshot-controller for K8s version < v1.20 lightbits-helm-repo/snapshot-controller-4 0.19.0 4.2.1 Deploy snapshot-controller for K8s version >= v1.20

Deploy these resources once before installing lb-csi-plugin.

Note

If these resources are already deployed for use by other CSI drivers, make sure the versions are correct and skip this step.

Deploying Release lb-csi Using lb-csi-plugin Chart

The following command will install lb-csi-plugin using lb-csi-plugin Helm Chart (latest version) from lightbits-helm-repo.

Note that we install the plugin under kube-system namespace.

helm install -n kube-system lb-csi lightbits-helm-repo/lb-csi-plugin NAME: lb-csi LAST DEPLOYED: Wed Oct 27 11:05:13 2021 NAMESPACE: kube-system STATUS: deployed REVISION: 1 TEST SUITE: None

Inspecting the Chart

You can watch the Helm Chart values using the following command:

helm show values lightbits-helm-repo/lb-csi-plugin

Deleting Release lb-csi

helm delete lb-csi release "lb-csi" uninstalled