2018-03-04 17:01:38 +00:00
|
|
|
---
|
2019-11-02 14:32:58 +00:00
|
|
|
apiVersion: apps/v1
|
2018-03-04 17:01:38 +00:00
|
|
|
kind: Deployment
|
|
|
|
metadata:
|
|
|
|
name: redis
|
|
|
|
namespace: authelia
|
|
|
|
labels:
|
|
|
|
app: redis
|
|
|
|
spec:
|
|
|
|
replicas: 1
|
|
|
|
selector:
|
|
|
|
matchLabels:
|
|
|
|
app: redis
|
|
|
|
template:
|
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
app: redis
|
|
|
|
spec:
|
|
|
|
containers:
|
2021-04-10 20:51:00 +00:00
|
|
|
- name: redis
|
2023-05-05 23:43:33 +00:00
|
|
|
image: redis:7.0-alpine
|
2021-04-10 20:51:00 +00:00
|
|
|
ports:
|
|
|
|
- containerPort: 6379
|
2022-12-12 23:15:32 +00:00
|
|
|
readinessProbe:
|
|
|
|
tcpSocket:
|
|
|
|
port: 6379
|
|
|
|
periodSeconds: 1
|
2021-04-10 20:51:00 +00:00
|
|
|
...
|
2018-03-04 17:01:38 +00:00
|
|
|
---
|
|
|
|
apiVersion: v1
|
|
|
|
kind: Service
|
|
|
|
metadata:
|
|
|
|
name: redis-service
|
|
|
|
namespace: authelia
|
|
|
|
spec:
|
|
|
|
selector:
|
|
|
|
app: redis
|
|
|
|
ports:
|
2021-04-10 20:51:00 +00:00
|
|
|
- protocol: TCP
|
|
|
|
port: 6379
|
|
|
|
...
|