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 FROM python:3.9-slim
ADD birb_scheduler requirements.txt /birb_scheduler/ ADD birb_scheduler_teller requirements.txt /birb_scheduler_teller/
WORKDIR /birb_scheduler/ WORKDIR /birb_scheduler_teller/
ENV PIP_NO_CACHE_DIR=true ENV PIP_NO_CACHE_DIR=true
ENV TZ Europe/Budapest ENV TZ Europe/Budapest

View File

@ -44,7 +44,7 @@ register_all_error_handlers(app)
# Setup tracing # Setup tracing
def initialize_tracer(): def initialize_tracer():
app.logger.info("Initializing jaeger...") 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() tracer = jaeger_cfg.initialize_tracer()
return tracer return tracer

View File

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

View File

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

View File

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