Files
homelab/k8s/apps/greece-notifier/deployment.yaml

52 lines
1.3 KiB
YAML
Raw Normal View History

2025-09-10 19:42:15 +03:00
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: greece-notifier
spec:
replicas: 1
selector:
matchLabels:
app: greece-notifier
template:
metadata:
labels:
app: greece-notifier
spec:
nodeSelector:
kubernetes.io/hostname: nas.homenet
volumes:
- name: data
nfs:
server: nas.homenet
path: /mnt/storage/Storage/k8s/greece-notifier/
readOnly: false
containers:
- name: greece-notifier
image: ultradesu/greece-notifier:master
imagePullPolicy: Always
2025-09-10 19:42:15 +03:00
resources:
requests:
cpu: "100m"
memory: "256Mi"
limits:
cpu: "2000m"
memory: "1Gi"
volumeMounts:
- name: data
mountPath: /data
env:
2025-09-10 19:44:59 +03:00
- name: RUST_LOG
value: "info"
2025-09-10 19:42:15 +03:00
- name: ENDPOINT_BID
2025-09-10 19:43:43 +03:00
value: "56" # Cyprus id
- name: UPDATE_INTERVAL_MIN
value: "270"
- name: UPDATE_INTERVAL_MAX
value: "350"
2025-09-10 19:42:15 +03:00
- name: TELOXIDE_TOKEN
valueFrom:
secretKeyRef:
name: greece-notifier-creds
key: TELOXIDE_TOKEN