fix redis rdb
parent
a027ef3fa6
commit
50423b926f
|
@ -27,10 +27,13 @@ spec:
|
||||||
image: redis/redis-stack-server:7.2.0-v0
|
image: redis/redis-stack-server:7.2.0-v0
|
||||||
ports:
|
ports:
|
||||||
- protocol: TCP
|
- protocol: TCP
|
||||||
containerPort: 8080
|
containerPort: 6379
|
||||||
env:
|
env:
|
||||||
- name: "REDIS_ARGS"
|
- name: "REDIS_ARGS"
|
||||||
value: "--requirepass beaconfire@123"
|
value: "--requirepass beaconfire@123"
|
||||||
|
volumeMounts:
|
||||||
|
- name: redis-stack-dev
|
||||||
|
mountPath: /data
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpu: 1
|
cpu: 1
|
||||||
|
@ -54,6 +57,19 @@ spec:
|
||||||
periodSeconds: 10
|
periodSeconds: 10
|
||||||
successThreshold: 1
|
successThreshold: 1
|
||||||
failureThreshold: 3
|
failureThreshold: 3
|
||||||
|
volumes:
|
||||||
|
- name: redis-stack-dev
|
||||||
|
hostPath:
|
||||||
|
path: /data/dev/redis-stack
|
||||||
|
affinity:
|
||||||
|
nodeAffinity:
|
||||||
|
requiredDuringSchedulingIgnoredDuringExecution:
|
||||||
|
nodeSelectorTerms:
|
||||||
|
- matchExpressions:
|
||||||
|
- key: "kubernetes.io/hostname"
|
||||||
|
operator: In
|
||||||
|
values:
|
||||||
|
- bfs-k8snode-10-2-0-13.hetzner.base.beaconfireinc.com
|
||||||
|
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
|
|
|
@ -27,10 +27,13 @@ spec:
|
||||||
image: redis/redis-stack-server:7.2.0-v0
|
image: redis/redis-stack-server:7.2.0-v0
|
||||||
ports:
|
ports:
|
||||||
- protocol: TCP
|
- protocol: TCP
|
||||||
containerPort: 8080
|
containerPort: 6379
|
||||||
env:
|
env:
|
||||||
- name: "REDIS_ARGS"
|
- name: "REDIS_ARGS"
|
||||||
value: "--requirepass beaconfire@123"
|
value: "--requirepass beaconfire@123"
|
||||||
|
volumeMounts:
|
||||||
|
- name: redis-stack-qa
|
||||||
|
mountPath: /data
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpu: 1
|
cpu: 1
|
||||||
|
@ -54,6 +57,19 @@ spec:
|
||||||
periodSeconds: 10
|
periodSeconds: 10
|
||||||
successThreshold: 1
|
successThreshold: 1
|
||||||
failureThreshold: 3
|
failureThreshold: 3
|
||||||
|
volumes:
|
||||||
|
- name: redis-stack-qa
|
||||||
|
hostPath:
|
||||||
|
path: /data/qa/redis-stack
|
||||||
|
affinity:
|
||||||
|
nodeAffinity:
|
||||||
|
requiredDuringSchedulingIgnoredDuringExecution:
|
||||||
|
nodeSelectorTerms:
|
||||||
|
- matchExpressions:
|
||||||
|
- key: "kubernetes.io/hostname"
|
||||||
|
operator: In
|
||||||
|
values:
|
||||||
|
- bfs-k8snode-10-2-0-10.hetzner.base.beaconfireinc.com
|
||||||
|
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
|
|
Loading…
Reference in New Issue