# Quickstart Deploy a Valkey Cluster on Kubernetes in under 5 minutes. ## Prerequisites - Kubernetes cluster v1.31+ - kubectl v1.31+ - Helm 3 ## 1. Install the operator ```sh helm repo add valkey https://valkey.io/valkey-helm helm repo update helm install valkey-operator valkey/valkey-operator -n valkey-operator-system --create-namespace ``` Verify the operator is running: ```sh kubectl get pods -n valkey-operator-system ``` ## 2. Deploy a Valkey Cluster Create a 3-shard cluster with 1 replica per shard (6 pods total): ```sh kubectl apply -f - < SET hello world OK 127.0.0.1:6379> GET hello "world" 127.0.0.1:6379> CLUSTER INFO ``` ## 5. Clean up ```sh kubectl delete valkeycluster my-cluster helm uninstall valkey-operator -n valkey-operator-system ``` ## Current limitations - Requires Valkey 9.0+ for scale-out/in support - No cert-manager integration (manual TLS Secret only) - No module support - No backup/restore - No default shard-aware anti-affinity (user-configurable via Kubernetes affinity rules) - No operator-managed external access (LoadBalancer/Ingress) - API is `v1alpha1` and may change in future releases - Cluster mode only (no standalone or sentinel) ## Next steps - [ValkeyCluster](./valkeycluster.md) — CRD reference and configuration options - [Status conditions](./status-conditions.md) — understanding cluster health - [Using modules](./using-modules.md) - workaround to deploy a Valkey Cluster with modules