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 > values.yml
Version
You can generate a values file and install a specific version by using the
--version
option with both thehelm show values
andhelm install
commandsEdit the
values.yml
and 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/kubelet
Deploy to the Kubernetes cluster:
helm install "hostdisk-csi" \ oci://registry.indevops.com/hostdisk-csi/hostdisk-csi \ --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 > values.yml
Version
You can generate a values file and upgrade to a specific version by using the
--version
option with both thehelm show values
andhelm upgrade
commandsEdit the
values.yml
and 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