Deployment
Helm registry
Authorize to Sarkan's 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/saunafs-csi/saunafs-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: saunafs-csi username: my-username password: my-password # Path on host machine where SaunaFS volumes will be mounted. hostMountPath: "/var/lib/saunafs" kubeletPath: /var/lib/kubeletDeploy to the Kubernetes cluster:
helm install "saunafs-csi" \ oci://registry.indevops.com/saunafs-csi/saunafs-csi \ --create-namespace -n "saunafs-csi" \ -f ./values.ymlUse following commands to make sure the installation was successful:
kubectl --namespace saunafs-csi rollout status deployment saunafs-csi-controller kubectl --namespace saunafs-csi rollout status daemonset saunafs-csi-node
Upgrading
Check for new configuration options since the last upgrade:
helm show values oci://registry.indevops.com/saunafs-csi/saunafs-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 "saunafs-csi" \ oci://registry.indevops.com/saunafs-csi/saunafs-csi \ -n "saunafs-csi" \ -f ./values.yml
