k8s-manifests/customers/base/redis-deployment.yml

29 lines
453 B
YAML
Raw Normal View History

2023-03-27 14:41:43 +00:00
apiVersion: apps/v1
kind: Deployment
metadata:
name: redis
labels:
2023-03-29 15:52:01 +00:00
app: redis
2023-03-27 14:41:43 +00:00
spec:
replicas: 1
selector:
matchLabels:
2023-03-29 15:52:01 +00:00
app: redis
2023-03-27 14:41:43 +00:00
template:
metadata:
labels:
2023-03-29 15:52:01 +00:00
app: redis
2023-03-27 14:41:43 +00:00
spec:
containers:
- name: default
image: redis:latest
imagePullPolicy: Always
ports:
- containerPort: 6379
args:
- "--save"
- ""
- "--appendonly"
- "no"