2024-07-26 14:46:45 +00:00
|
|
|
# Dragonfly Operator
|
|
|
|
|
2024-08-14 04:00:16 +00:00
|
|
|
Dragonfly operator is the preferred way to add Redis support to your application.
|
|
|
|
|
|
|
|
Following alternatives were considered:
|
|
|
|
|
|
|
|
* Vanilla Redis' replication is clunky and there is no reliable operator for Kubernetes
|
|
|
|
to use vanilla redis
|
|
|
|
* KeyDB Cluster was unable to guarantee strong consistency
|
|
|
|
|
|
|
|
# For users
|
|
|
|
|
|
|
|
For examples refer to [../passmower/dragonfly.yaml]
|
|
|
|
|
|
|
|
Use storage class `redis` for persistent instances.
|
|
|
|
To achieve high availabilllity use 2+ replicas with correctly configured
|
|
|
|
`topologySpreadConstraints`.
|
|
|
|
|
|
|
|
# For administrators
|
|
|
|
|
|
|
|
The operator was deployed with following snippet:
|
|
|
|
|
2024-07-26 14:46:45 +00:00
|
|
|
```
|
|
|
|
kubectl apply -f https://raw.githubusercontent.com/dragonflydb/dragonfly-operator/v1.1.6/manifests/dragonfly-operator.yaml
|
|
|
|
```
|