How do I add linode block storage as a persistent volume? I'm having a redis cluster in k8s , installed via helm
Hi,
I've a redis cluster installed in my k8s. I'm using helm for the same.
https://hub.helm.sh/charts/bitnami/redis
I would like to use linode block storage. I read that I have to specify it in the persistence.existingClaim
parameter. Is there any documentation / steps available on how I could do this?
Thanks
2 Replies
You may need to make use of the Linode Block Storage CSI driver in order to allow Helm/Kubernetes to manage your persistent volume claims. This related Community Questions post has some examples of how this would be used:
Setup example - Linode Block Storage CSI Driver
The CSI driver itself can be found here. This should satisfy the "PV provisioner support in the underlying infrastructure" prerequisite from the Helm guide you linked in your post and allow you to follow the rest of the guide to deploy Block Storage as a PVC.
Hi,
I managed to set a redis cluster with helm.
I used the following command to helm install redis and found that the persistent volumes were created as Linode Volumes for me by default.
helm install my-release bitnami/redis --values values-production.yml
The values-production.yml file is available here