2022-12-07 12:00:34 +01:00
|
|
|
apiVersion: apps/v1
|
|
|
|
kind: Deployment
|
|
|
|
metadata:
|
|
|
|
name: nocodelytics-events-worker
|
|
|
|
spec:
|
|
|
|
replicas: 1
|
|
|
|
selector:
|
|
|
|
matchLabels:
|
|
|
|
ms: nocodelytics-events-worker
|
|
|
|
template:
|
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
ms: nocodelytics-events-worker
|
|
|
|
spec:
|
|
|
|
containers:
|
|
|
|
- name: nocodelytics-events-worker
|
2022-12-09 19:11:48 +01:00
|
|
|
imagePullPolicy: Always
|
2023-12-19 18:49:30 +01:00
|
|
|
image: container-registry.nocodelytics.com/nocodelytics:latest
|
2022-12-07 12:00:34 +01:00
|
|
|
command:
|
|
|
|
[
|
|
|
|
"node",
|
|
|
|
"./api/.build/src/queue/workers/metricEventWorker/metricEventWorker.js",
|
|
|
|
]
|
2023-12-19 18:49:30 +01:00
|
|
|
env: []
|
|
|
|
envFrom:
|
|
|
|
- secretRef:
|
|
|
|
name: secrets
|
2024-01-25 18:41:32 +01:00
|
|
|
livenessProbe:
|
|
|
|
httpGet:
|
|
|
|
path: /healthz
|
|
|
|
port: 8080
|
|
|
|
initialDelaySeconds: 30
|
|
|
|
periodSeconds: 10
|
|
|
|
readinessProbe:
|
|
|
|
httpGet:
|
|
|
|
path: /healthz
|
|
|
|
port: 8080
|
|
|
|
initialDelaySeconds: 30
|
|
|
|
periodSeconds: 10
|