Lightbits Helm Repository
Adding the Lightbits Helm Repository
helm repo add lightbits-helm-repo https://dl.lightbitslabs.com/public/lightos-csi/helm/charts/helm repo updateListing Helm Repositories
helm repo listNAME 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-repoNAME CHART VERSION APP VERSION DESCRIPTIONlightbits-helm-repo/lb-csi-plugin 0.18.0 1.20.0 Helm Chart for Lightbits CSI Plugin.lightbits-helm-repo/lb-csi-workload-examples 0.18.0 1.20.0 Helm Chart for Lightbits CSI Workload Examples.lightbits-helm-repo/snapshot-controller-3 0.18.0 3.0.3 Deploy snapshot-controller for K8s version < v1.20lightbits-helm-repo/snapshot-controller-4 0.18.0 4.2.1 Deploy snapshot-controller for K8s version >= v1.20Deploying 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.18.0 3.0.3 Deploy snapshot-controller for K8s version < v1.20lightbits-helm-repo/snapshot-controller-4 0.18.0 4.2.1 Deploy snapshot-controller for K8s version >= v1.20Deploy these resources once before installing lb-csi-plugin.
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-pluginNAME: lb-csiLAST DEPLOYED: Wed Oct 27 11:05:13 2021NAMESPACE: kube-systemSTATUS: deployedREVISION: 1TEST SUITE: NoneInspecting the Chart
You can watch the Helm Chart values using the following command:
helm show values lightbits-helm-repo/lb-csi-pluginDeleting Release lb-csi
helm delete lb-csi release "lb-csi" uninstalled