dragonfly: scale to 1 instance (hotfix)
eaas: dragonfly has 1 rw instance and applications don't realize and change over from ro to rw when the leader changes.
This commit is contained in:
@@ -9,7 +9,7 @@ spec:
|
||||
project: k-space.ee
|
||||
source:
|
||||
repoURL: https://github.com/dragonflydb/dragonfly-operator
|
||||
targetRevision: v1.1.11
|
||||
targetRevision: v1.1.11 # https://github.com/dragonflydb/dragonfly-operator/releases
|
||||
path: manifests
|
||||
directory:
|
||||
include: 'dragonfly-operator.yaml'
|
||||
|
@@ -1,5 +1,4 @@
|
||||
# Dragonfly Operator
|
||||
|
||||
Dragonfly operator is the preferred way to add Redis support to your application
|
||||
as it is modern Go rewrite and it supports high availability.
|
||||
|
||||
@@ -14,9 +13,7 @@ Note that vanilla Redis
|
||||
[has changed it's licensing policy](https://redis.io/blog/redis-adopts-dual-source-available-licensing/)
|
||||
|
||||
# For users
|
||||
|
||||
Refer to [official documentation on usage](https://www.dragonflydb.io/docs/getting-started/kubernetes-operator#create-a-dragonfly-instance-with-replicas)
|
||||
|
||||
For example deployment see
|
||||
[here](https://git.k-space.ee/k-space/kube/src/branch/master/passmower/dragonfly.yaml).
|
||||
To find other instances in this repository use `grep -r "kind: Dragonfly"`
|
||||
@@ -27,7 +24,3 @@ To achieve high availabilllity use 2+ replicas with correctly configured
|
||||
|
||||
# For administrators
|
||||
See [/argocd/applications/dragonfly.yaml](/argocd/applications/dragonfly.yaml)
|
||||
|
||||
To upgrade refer to
|
||||
[github.com/dragonflydb/dragonfly-operator](https://github.com/dragonflydb/dragonfly-operator/releases),
|
||||
bump version and reapply
|
||||
|
@@ -51,7 +51,7 @@ spec:
|
||||
passwordFromSecret:
|
||||
key: REDIS_PASSWORD
|
||||
name: dragonfly-auth
|
||||
replicas: 3
|
||||
replicas: 1
|
||||
resources:
|
||||
limits:
|
||||
memory: 5Gi
|
@@ -20,7 +20,7 @@ spec:
|
||||
passwordFromSecret:
|
||||
key: REDIS_PASSWORD
|
||||
name: dragonfly-auth
|
||||
replicas: 3
|
||||
replicas: 1
|
||||
topologySpreadConstraints:
|
||||
- maxSkew: 1
|
||||
topologyKey: topology.kubernetes.io/zone
|
||||
|
@@ -23,7 +23,7 @@ spec:
|
||||
passwordFromSecret:
|
||||
key: password
|
||||
name: dragonfly-auth
|
||||
replicas: 3
|
||||
replicas: 1
|
||||
topologySpreadConstraints:
|
||||
- maxSkew: 1
|
||||
topologyKey: topology.kubernetes.io/zone
|
||||
|
@@ -24,7 +24,7 @@ spec:
|
||||
passwordFromSecret:
|
||||
key: password
|
||||
name: session-storage
|
||||
replicas: 3
|
||||
replicas: 1
|
||||
resources:
|
||||
limits:
|
||||
cpu: 1000m
|
||||
|
Reference in New Issue
Block a user