kubs/alaskarTV/extras/diun/deployment.yaml
2025-01-11 05:40:20 +03:00

51 lines
1.2 KiB
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
keel.sh/policy: minor
keel.sh/trigger: poll
keel.sh/match-tag: "true"
keel.sh/pollSchedule: "@every 6h"
labels:
io.kompose.service: diun
name: diun
spec:
replicas: 1
selector:
matchLabels:
io.kompose.service: diun
strategy:
type: Recreate
template:
metadata:
labels:
io.kompose.service: diun
spec:
containers:
- args:
- serve
env:
- name: LOG_JSON
value: "false"
- name: LOG_LEVEL
value: info
- name: TZ
value: Asia/Kuwait
image: crazymax/diun:latest
name: diun
volumeMounts:
- mountPath: /data
name: ssd
subPath: configs/diun/data
- mountPath: /diun.yml
name: ssd
subPath: configs/diun/data/diun.yml
readOnly: true
restartPolicy: Always
volumes:
- name: ssd
persistentVolumeClaim:
claimName: nfs-ssd-pvc
- name: hdd
persistentVolumeClaim:
claimName: nfs-hdd-pvc