Fixed k8s stuff
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Pünkösd Marcell 2021-12-13 04:20:12 +01:00
parent dba71002b4
commit 1edaa76cbc

View File

@ -3,6 +3,7 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: birb-scheduler
namespace: turbomemer
spec:
replicas: 1
template:
@ -28,17 +29,19 @@ apiVersion: v1
kind: ConfigMap
metadata:
name: birb-scheduler-config
namespace: turbomemer
data:
SENTRY_DSN: ""
SITES: "edge-1;http://192.168.111.100:30420/ edge-2;http://192.168.112.100:30420/ cloud;http://192.168.110.100:30420/"
DEBUG: "yes"
REDIS_URL: "redis://birb-scheduler-redis:6379/0"
COLLECTOR_URL: "http://192.168.110.100:30420/report"
COLLECTOR_URL: "http://birb-latency-collector/report"
---
kind: Role
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: birb-scheduler-role
namespace: turbomemer
rules:
- apiGroups: ["types.kubefed.io"]
resources: ["federateddeployments"]
@ -48,6 +51,7 @@ kind: RoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: birb-scheduler-role-binding
namespace: turbomemer
subjects:
- kind: ServiceAccount
name: birb-scheduler-account