2018-03-05 00:01:38 +07:00
|
|
|
---
|
2019-11-02 21:32:58 +07:00
|
|
|
apiVersion: apps/v1
|
2018-03-05 00:01:38 +07: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-11 03:51:00 +07:00
|
|
|
- name: redis
|
|
|
|
image: redis:3.2.11-alpine
|
|
|
|
ports:
|
|
|
|
- containerPort: 6379
|
|
|
|
...
|
2018-03-05 00:01:38 +07:00
|
|
|
---
|
|
|
|
apiVersion: v1
|
|
|
|
kind: Service
|
|
|
|
metadata:
|
|
|
|
name: redis-service
|
|
|
|
namespace: authelia
|
|
|
|
spec:
|
|
|
|
selector:
|
|
|
|
app: redis
|
|
|
|
ports:
|
2021-04-11 03:51:00 +07:00
|
|
|
- protocol: TCP
|
|
|
|
port: 6379
|
|
|
|
...
|