update: redis-stack app selector

main
ycz008 2023-08-16 12:01:41 +08:00
parent c2011d81c1
commit 33bbea6db9
1 changed files with 5 additions and 5 deletions

View File

@ -24,18 +24,18 @@ data:
apiVersion: apps/v1 apiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: metadata:
name: redis name: redis-stack
labels: labels:
app: redis app: redis-stack
spec: spec:
replicas: 1 replicas: 1
selector: selector:
matchLabels: matchLabels:
app: redis app: redis-stack
template: template:
metadata: metadata:
labels: labels:
app: redis app: redis-stack
spec: spec:
initContainers: initContainers:
- name: init - name: init
@ -45,7 +45,7 @@ spec:
securityContext: securityContext:
privileged: true privileged: true
containers: containers:
- name: redis - name: redis-stack
image: redis/redis-stack-redis:7.2.0-v0 image: redis/redis-stack-redis:7.2.0-v0
ports: ports:
- containerPort: 6379 - containerPort: 6379