Deployment

Prerequisites

  • Kubernetes 1.28+
  • Helm 3.8+

Helm registry

Authorize to Sarkan OCI registry using Helm:

helm registry login 'registry.indevops.com'

Installation

  1. Generate a new values.yml file from the defaults:

    helm show values oci://registry.indevops.com/hostdisk-csi/hostdisk-csi \
        --version "<VERSION>" > values.yml
    
  2. Edit the values.yml and configure it to match your cluster and requirements. You will need to configure the registry using valid credentials.

  3. Deploy to the Kubernetes cluster:

    helm install "hostdisk-csi" \
        oci://registry.indevops.com/hostdisk-csi/hostdisk-csi --version "<VERSION>" \
        --create-namespace -n "hostdisk-csi" \
        -f ./values.yml
    
  4. Wait until all pods are running:

    kubectl --namespace hostdisk-csi rollout status daemonset hostdisk-csi-node
    kubectl --namespace hostdisk-csi rollout status daemonset hostdisk-csi-manager
    

Upgrading

  1. Check for new configuration options since the last upgrade:

    helm show values oci://registry.indevops.com/hostdisk-csi/hostdisk-csi --version "<VERSION>" > values.yml
    
  2. Edit the values.yml and configure it to match your cluster and requirements. You will need to configure the registry using valid credentials.

  3. Use following command to upgrade the driver:

    helm upgrade "hostdisk-csi" \
        oci://registry.indevops.com/hostdisk-csi/hostdisk-csi --version "<VERSION>" \
        -n "hostdisk-csi" -f ./values.yml