mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
37 lines
533 B
YAML
37 lines
533 B
YAML
|
---
|
||
|
apiVersion: apps/v1beta2
|
||
|
kind: Deployment
|
||
|
metadata:
|
||
|
name: redis
|
||
|
namespace: authelia
|
||
|
labels:
|
||
|
app: redis
|
||
|
spec:
|
||
|
replicas: 1
|
||
|
selector:
|
||
|
matchLabels:
|
||
|
app: redis
|
||
|
template:
|
||
|
metadata:
|
||
|
labels:
|
||
|
app: redis
|
||
|
spec:
|
||
|
containers:
|
||
|
- name: redis
|
||
|
image: redis:3.2.11-alpine
|
||
|
ports:
|
||
|
- containerPort: 6379
|
||
|
|
||
|
---
|
||
|
apiVersion: v1
|
||
|
kind: Service
|
||
|
metadata:
|
||
|
name: redis-service
|
||
|
namespace: authelia
|
||
|
spec:
|
||
|
selector:
|
||
|
app: redis
|
||
|
ports:
|
||
|
- protocol: TCP
|
||
|
port: 6379
|