vngcloud-blockstorage-csi-driver

by VNG Cloud

Helm chartv2.0.0App 1.6.1Verified publisher

A Helm chart for VngCloud BlockStorage CSI Driver

About this chart

VngCloud BlockStorage CSI Driver

1. Installation

1.1. Prerequisites

  • Helm 3.0+
  • KUBECONFIG environment variable pointing to the .kubeconfig file with access to your Kubernetes cluster.

1.2. Install vngcloud-blockstorage-csi-driver on Kubernetes clusters

  • Following the below steps to install vngcloud-blockstorage-csi-driver on your Kubernetes cluster:

    • Step 1: Add the vks-helm-charts Helm repository:

      helm repo add vks-helm-charts https://vngcloud.github.io/vks-helm-charts
      helm repo update
      
    • Step 2: Install vngcloud-blockstorage-csi-driver:

      VNGCLOUD_CLIENT_ID=<put-your-client-id>
      VNGCLOUD_CLIENT_SECRET=<put-your-client-secret>
      VNGCLOUD_VKS_CLUSTER_ID=<put-your-vks-cluster-id>  # Optional
      
      helm install vngcloud-blockstorage-csi-driver vks-helm-charts/vngcloud-blockstorage-csi-driver \
        --replace --namespace kube-system \
        --set vngcloudAccessSecret.keyId=${VNGCLOUD_CLIENT_ID} \
        --set vngcloudAccessSecret.accessKey=${VNGCLOUD_CLIENT_SECRET} \
        --set vngcloudAccessSecret.vksClusterId=${VNGCLOUD_VKS_CLUSTER_ID}  # Optional
      

1.3. Upgrade

  • Upgrade vngcloud-blockstorage-csi-driver to latest version.
    helm upgrade vngcloud-blockstorage-csi-driver vks-helm-charts/vngcloud-blockstorage-csi-driver -n kube-system
    

1.4. Uninstall

  • Uninstall vngcloud-blockstorage-csi-driver from your Kubernetes cluster.
    helm uninstall vngcloud-blockstorage-csi-driver -n kube-system
    

2. Other features

2.1. Enable Snapshot feature

  • To enable the snapshot feature, you MUST install the vngcloud-snapshot-controller along with the vngcloud-blockstorage-csi-driver Helm chart, as follows:
    helm install vngcloud-snapshot-controller vks-helm-charts/vngcloud-snapshot-controller \
      --replace --namespace kube-system
    

Deploy vngcloud-blockstorage-csi-driver with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has vngcloud-blockstorage-csi-driver 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 chartvngcloud-blockstorage-csi-driver is pinned at v2.0.0 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