Sync the self-hosting stack
This commit is contained in:
@@ -23,6 +23,11 @@
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
# Beside the config, well before the api. The api reaches Redis on its readiness probe, so a
|
||||
# keyspace that is not there yet is a Deployment that rolls and then reports unready for as
|
||||
# long as it takes — which Argo would read as a failed sync rather than as a wait.
|
||||
annotations:
|
||||
argocd.argoproj.io/sync-wave: "-2"
|
||||
name: redis-scripts
|
||||
namespace: jarvis
|
||||
data:
|
||||
@@ -79,6 +84,9 @@ data:
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
# With the rest of Redis, in the wave before anything reads it.
|
||||
annotations:
|
||||
argocd.argoproj.io/sync-wave: "-2"
|
||||
name: redis-config
|
||||
namespace: jarvis
|
||||
data:
|
||||
@@ -112,6 +120,9 @@ data:
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
# With the rest of Redis, in the wave before anything reads it.
|
||||
annotations:
|
||||
argocd.argoproj.io/sync-wave: "-2"
|
||||
name: redis
|
||||
namespace: jarvis
|
||||
spec:
|
||||
@@ -129,6 +140,9 @@ spec:
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
# With the rest of Redis, in the wave before anything reads it.
|
||||
annotations:
|
||||
argocd.argoproj.io/sync-wave: "-2"
|
||||
name: redis-sentinel
|
||||
namespace: jarvis
|
||||
spec:
|
||||
@@ -144,6 +158,9 @@ spec:
|
||||
apiVersion: apps/v1
|
||||
kind: StatefulSet
|
||||
metadata:
|
||||
# With the rest of Redis, in the wave before anything reads it.
|
||||
annotations:
|
||||
argocd.argoproj.io/sync-wave: "-2"
|
||||
name: redis
|
||||
namespace: jarvis
|
||||
spec:
|
||||
@@ -232,6 +249,9 @@ spec:
|
||||
apiVersion: apps/v1
|
||||
kind: StatefulSet
|
||||
metadata:
|
||||
# With the rest of Redis, in the wave before anything reads it.
|
||||
annotations:
|
||||
argocd.argoproj.io/sync-wave: "-2"
|
||||
name: redis-sentinel
|
||||
namespace: jarvis
|
||||
spec:
|
||||
@@ -321,6 +341,9 @@ spec:
|
||||
apiVersion: policy/v1
|
||||
kind: PodDisruptionBudget
|
||||
metadata:
|
||||
# With the rest of Redis, in the wave before anything reads it.
|
||||
annotations:
|
||||
argocd.argoproj.io/sync-wave: "-2"
|
||||
name: redis-sentinel
|
||||
namespace: jarvis
|
||||
spec:
|
||||
@@ -332,6 +355,9 @@ spec:
|
||||
apiVersion: policy/v1
|
||||
kind: PodDisruptionBudget
|
||||
metadata:
|
||||
# With the rest of Redis, in the wave before anything reads it.
|
||||
annotations:
|
||||
argocd.argoproj.io/sync-wave: "-2"
|
||||
name: redis
|
||||
namespace: jarvis
|
||||
spec:
|
||||
|
||||
Reference in New Issue
Block a user