Renamed stuff
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
Pünkösd Marcell 2021-12-10 23:08:58 +01:00
parent 3b5621278f
commit 2f5a4929a5
15 changed files with 17 additions and 17 deletions

View File

@ -1,7 +1,7 @@
FROM python:3.9-slim
ADD birb_scheduler requirements.txt /birb_scheduler/
WORKDIR /birb_scheduler/
ADD birb_scheduler_teller requirements.txt /birb_scheduler_teller/
WORKDIR /birb_scheduler_teller/
ENV PIP_NO_CACHE_DIR=true
ENV TZ Europe/Budapest

View File

@ -44,7 +44,7 @@ register_all_error_handlers(app)
# Setup tracing
def initialize_tracer():
app.logger.info("Initializing jaeger...")
jaeger_cfg = jaeger_client.Config(config={}, service_name='birb-scheduler', validate=True)
jaeger_cfg = jaeger_client.Config(config={}, service_name='birb-scheduler-teller', validate=True)
tracer = jaeger_cfg.initialize_tracer()
return tracer

View File

@ -1,12 +1,12 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: birb-scheduler
name: birb-scheduler-teller
labels:
app: birb-scheduler
app: birb-scheduler-teller
namespace: turbomemer
data:
SENTRY_DSN:
RELEASE_ID: kmlabz-k8s
RELEASE_ID: birbemu-k8s
RELEASEMODE: release

View File

@ -1,29 +1,29 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: birb-scheduler
name: birb-scheduler-teller
namespace: turbomemer
labels:
app: birb-scheduler
app: birb-scheduler-teller
spec:
replicas: 1
selector:
matchLabels:
app: birb-scheduler
app: birb-scheduler-teller
strategy:
type: Recreate
template:
metadata:
labels:
app: birb-scheduler
app: birb-scheduler-teller
spec:
containers:
- image: registry.kmlabz.com/birbnetes/birb-scheduler
- image: registry.kmlabz.com/birbnetes/birb-scheduler-teller
imagePullPolicy: Always
name: birb-scheduler
name: birb-scheduler-teller
envFrom:
- configMapRef:
name: birb-scheduler
name: birb-scheduler-teller
ports:
- containerPort: 8000
- name: jaeger-agent

View File

@ -1,16 +1,16 @@
apiVersion: v1
kind: Service
metadata:
name: birb-scheduler
name: birb-scheduler-teller
namespace: turbomemer
labels:
app: birb-scheduler
app: birb-scheduler-teller
spec:
ports:
- name: birb-scheduler
- name: birb-scheduler-teller
port: 80
targetPort: 8000
protocol: TCP
selector:
app: birb-scheduler
app: birb-scheduler-teller
type: ClusterIP