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.yml
file from the defaults:helm show values oci://registry.indevops.com/hostdisk-csi/hostdisk-csi \ --version "<VERSION>" > values.yml
Edit the
values.yml
and configure it to match your cluster and requirements. You will need to configure the registry using valid credentials.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
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
Check for new configuration options since the last upgrade:
helm show values oci://registry.indevops.com/hostdisk-csi/hostdisk-csi --version "<VERSION>"
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