Deployment
Prerequisites
- Kubernetes 1.28+
- Helm 3.8+
Helm registry
Authorize to Sarkan OCI registry using Helm:
helm registry login 'registry.indevops.com'
Installation
Generate a new
values.ymlfile from the defaults:helm show values oci://registry.indevops.com/hostdisk-csi/hostdisk-csi > values.ymlVersion
You can generate a values file and install a specific version by using the
--versionoption with both thehelm show valuesandhelm installcommandsEdit the
values.ymland configure it to match your cluster and requirements. You will need to configure the registry using valid credentials.registry: hostname: registry.indevops.com namespace: hostdisk-csi username: my-username password: my-password kubeletPath: /var/lib/kubeletDeploy to the Kubernetes cluster:
helm install "hostdisk-csi" \ oci://registry.indevops.com/hostdisk-csi/hostdisk-csi \ --create-namespace -n "hostdisk-csi" \ -f ./values.ymlWait 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
Check for new configuration options since the last upgrade:
helm show values oci://registry.indevops.com/hostdisk-csi/hostdisk-csi > values.ymlVersion
You can generate a values file and upgrade to a specific version by using the
--versionoption with both thehelm show valuesandhelm upgradecommandsEdit the
values.ymland configure it to match your cluster and requirements. You will need to configure the registry using valid credentials.Use following command to upgrade the driver:
helm upgrade "hostdisk-csi" \ oci://registry.indevops.com/hostdisk-csi/hostdisk-csi \ -n "hostdisk-csi" -f ./values.yml
