This commit is contained in:
parent
2f5a4929a5
commit
fa032493c5
@ -9,4 +9,6 @@ data:
|
||||
SENTRY_DSN:
|
||||
RELEASE_ID: birbemu-k8s
|
||||
RELEASEMODE: release
|
||||
|
||||
REDIS_URL: "redis://birb-scheduler-redis:6379/0"
|
||||
DEFAULT_WHILE_NOT_DEFINED: "cloud;http://192.168.110.100:30420/"
|
||||
DEVICE_TIMEOUT: 95
|
||||
|
37
k8s/redis.yml
Normal file
37
k8s/redis.yml
Normal file
@ -0,0 +1,37 @@
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: birb-scheduler-redis
|
||||
namespace: turbomemer
|
||||
labels:
|
||||
app: birb-scheduler-redis
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
app: birb-scheduler-redis
|
||||
strategy:
|
||||
type: Recreate
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: birb-scheduler-redis
|
||||
spec:
|
||||
containers:
|
||||
- name: birb-scheduler-redis
|
||||
image: redis
|
||||
ports:
|
||||
- containerPort: 6379
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: birb-scheduler-redis
|
||||
spec:
|
||||
selector:
|
||||
app: birb-scheduler-redis
|
||||
ports:
|
||||
- name: birb-scheduler-redis
|
||||
protocol: TCP
|
||||
port: 6379
|
||||
targetPort: 6379
|
Loading…
Reference in New Issue
Block a user