florale-emotion/website/k8s/bot.yaml

35 lines
954 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: florale-emotion-bot
labels:
app: florale-emotion-bot
spec:
replicas: 1
selector:
matchLabels:
app: florale-emotion-bot
template:
metadata:
labels:
app: florale-emotion-bot
spec:
imagePullSecrets:
- name: harbor-registry-secret
containers:
- name: florale-emotion-bot
image: registry.julianvollmer.de/florale-emotion/florale-emotion-bot:__IMAGE_TAG__
env:
- name: NODE_ENV
value: "production"
resources:
requests:
memory: "128Mi"
cpu: "50m"
limits:
memory: "256Mi"
cpu: "100m"
# Social Media Bot läuft als Cronjob/Scheduled Task
# Keine Health Checks nötig da es kein HTTP Service ist
# Bot läuft als interner Service ohne öffentliche Exposition
# Kein Service nötig, da keine HTTP-Requests von außen