k8s stuff
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Pünkösd Marcell 2021-12-10 23:25:37 +01:00
parent 2f5a4929a5
commit fa032493c5
2 changed files with 40 additions and 1 deletions

View File

@ -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
View 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