Welcome to the ValkeyOperator documentation. This guide will help you deploy, configure, and manage Valkey instances in Kubernetes using the ValkeyOperator.
- Operator Overview - Understanding ValkeyOperator architecture and capabilities
- User Guide - Complete installation and usage guide
- Examples - Ready-to-use configuration examples
- API Overview - Complete API reference overview
- Sentinel API - Standalone sentinel configuration
- User API - User and ACL management
- Core Types - Shared types and structures
ValkeyOperator uses a unified Valkey resource to manage all deployment architectures. You can specify the desired architecture using the arch field.
arch: replica- Standalone Valkey instance.arch: cluster- Valkey cluster with automatic sharding.arch: failover- High-availability setup with Sentinel.
Here is an example of a Valkey cluster:
apiVersion: rds.valkey.buf.red/v1alpha1
kind: Valkey
metadata:
name: my-valkey-cluster
spec:
arch: cluster
version: "8.0"
replicas:
shards: 3
replicasOfShard: 1- ✅ Unified API - Manage all Valkey architectures with a single CRD.
- ✅ Multi-Architecture Support -
replica,cluster, andfailovermodes. - ✅ High Availability - Automatic failover and recovery.
- ✅ Horizontal Scaling - Online scale up/down operations.
- ✅ Version Upgrades - Graceful rolling updates.
- ✅ Persistent Storage - Configurable storage with retention.
- ✅ Security - TLS encryption and ACL support.
- ✅ Monitoring - Built-in Prometheus exporter.
- ✅ IPv4/IPv6 - Dual-stack networking support.
- ✅ Node Scheduling - Affinity, tolerations, node selectors.
| Valkey Version | Kubernetes | Status |
|---|---|---|
| 7.2.x | 1.31, 1.32 | ✅ Supported |
| 8.0.x | 1.31, 1.32 | ✅ Supported |
| 8.1.x | 1.31, 1.32 | ✅ Supported |
| Use Case | Example | Description |
|---|---|---|
| Standalone | Valkey Standalone | Basic standalone Valkey instance |
| Cluster | Valkey Cluster | Valkey cluster with sharding |
| High Availability | Valkey Failover | Sentinel-based failover |
| User Management | ACL Users | User and ACL configuration |
| Monitoring | With Monitoring | Prometheus integration |
# Install the operator
kubectl apply -k https://github.com/chideat/valkey-operator/config/default
# Deploy a standalone Valkey instance
kubectl apply -f docs/examples/basic/standalone.yaml
# Check status
kubectl get valkey valkey-standalone -w- 📖 Documentation: You're reading it!
- 🐛 Bug Reports: GitHub Issues
- 💡 Feature Requests: GitHub Issues
- 🤝 Contributing: CONTRIBUTING.md
ValkeyOperator is licensed under the Apache 2.0 License.