I am trying to run a Redis cluster on Kubernetes. I am not planning to persist any Redis data to the disk. Is it possible to run the Redis cluster as Kubernetes deployment and not as a stateful set?
I am trying to run a Redis cluster on Kubernetes. I am not planning to persist any Redis data to the disk. Is it possible to run the Redis cluster as Kubernetes deployment and not as a stateful set?
2
Answers
Yes, though I would probably still use StatefulSet specifically for the features to ensure only one pod starts at a time.
yes it is possible to persist data in PVC with stateful sets, however in helm chart for HA redis cluster they are using stateful sets only :