概要
Kubernetes operator for Valkey: deploy and manage Valkey Cluster, Valkey Sentinel (failover) and replica instances, with ACL, TLS, online scaling and version upgrades.
システム・インフラできること
- Standalone/Sentinel/Cluster valkey arch supported.
- Valkey ACL supported.
- Nodeport/LB access supported; nodeport assignement also supported.
- IPv4/IPv6 supported.
計測したスター増加
- 24時間
- 0
- 7日間
- 履歴を収集中
- 15日間
- 履歴を収集中
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナルValkey Operator
Valkey Operator is a production-ready Kubernetes operator for Valkey. It deploys and manages highly available Valkey Cluster, Valkey Sentinel (failover) and replica instances from a single Valkey custom resource, and keeps them running: ACL users, TLS, online scaling and graceful version upgrades. This repository contains the Custom Resource Definitions (CRDs) for the whole lifecycle of a Valkey cluster, Sentinel or standalone instance.
Valkey Operator is an independent open source project, separate from the Valkey project's own operator, valkey-io/valkey-operator.
Documentation: https://chideat.github.io/valkey-operator/
spec.arch |
What runs |
|---|---|
cluster |
Valkey Cluster: the 16384 hash slots split over shards, each shard a primary with replicas, rebalanced online when shards are added or removed |
failover |
A primary with replicas, kept available by Valkey Sentinel |
replica |
A primary with optional replicas and no Sentinel |
Features
- Standalone/Sentinel/Cluster valkey arch supported.
- Valkey ACL supported.
- Nodeport/LB access supported; nodeport assignement also supported.
- IPv4/IPv6 supported.
- Online scale up/down.
- Graceful version upgrade.
- Nodeselector, toleration and affinity supported.
- Generated StatefulSets, PodDisruptionBudgets and Services can be patched through
spec.overwrites. - High available in production environment.
Quickstart
Using Helm (Recommended)
If you have a Kubernetes cluster and kubectl configured to access it, the easiest way to install Valkey Operator is via Helm:
# Install Valkey Operator (cert-manager integration is enabled by default)
# Requires cert-manager to be installed: https://cert-manager.io/docs/installation/
helm install valkey-operator oci://ghcr.io/chideat/charts/valkey-operator \
--namespace valkey-system --create-namespace
# Deploy a Valkey cluster
kubectl apply -f https://raw.githubusercontent.com/chideat/valkey-operator/main/docs/examples/basic/cluster.yaml
# Check the cluster status
kubectl get valkey valkey-cluster -w
Note: The Helm chart uses cert-manager to manage webhook TLS by default. Ensure cert-manager is installed before running
helm install. Alternatively, disable webhooks with--set webhook.enabled=falseif you don't need them.
Using Kustomize
# Install Valkey Operator
kubectl apply -k https://github.com/chideat/valkey-operator/config/default
For detailed installation and configuration instructions, see the User Guide.
Supported Versions
| Valkey Version | Kubernetes Versions | Status |
|---|---|---|
| 7.2.x | 1.33, 1.34, 1.35 | Stable |
| 8.0.x | 1.33, 1.34, 1.35 | Stable |
| 8.1.x | 1.33, 1.34, 1.35 | Stable |
| 9.0.x | 1.33, 1.34, 1.35 | Stable |
| 9.1.x | 1.33, 1.34, 1.35 | Stable |
The v2.1.0 release candidate passed the end-to-end suite on Kubernetes v1.33.12 and v1.34.11 (kind) for every Valkey version above, and on Kubernetes v1.35.6 for Valkey 7.2, 8.1 and 9.1.
Documentation
The documentation is published at https://chideat.github.io/valkey-operator/, from the docs directory:
- Operator Overview - Architecture and core concepts
- User Guide - Complete installation and usage guide
- Valkey Sentinel on Kubernetes - A primary with replicas, kept available by Valkey Sentinel
- Valkey Cluster on Kubernetes - A sharded Valkey Cluster, scaled online
- FAQ - Short answers to common questions
- API Reference - Detailed API documentation
- Examples - Ready-to-use configuration examples
For a complete list of features and configuration options, see the documentation directory.
In addition, practical examples and configuration samples can be found in this repository.
Contributing
This project follows the typical GitHub pull request model. Before starting any work, please either comment on an existing issue, or file a new one. For more details, please refer to the CONTRIBUTING.md file.
Releasing
To release a new version of Valkey Operator, create a versioned tag (e.g. v0.1.0) of the repo, and the release pipeline will generate a new draft release, along side release artefacts.
License
関連プロジェクトを探す
読み込み中…