Files
home/k8s_manifests/beets/deployment.yaml
bvanroll 9561abac77 wq
euh§
2025-12-07 02:44:28 +01:00

62 lines
1.6 KiB
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: beets
labels:
app.kubernetes.io/name: beets
spec:
replicas: 1
selector:
matchLabels:
app.kubernetes.io/name: beets
template:
metadata:
labels:
app.kubernetes.io/name: beets
spec:
volumes:
- name: downloads
nfs:
server: 192.168.0.99
path: /mnt/test1/media/Music/downloads
- name: library
nfs:
server: 192.168.0.99
path: /mnt/test1/media/Music/library
- name: config
nfs:
server: 192.168.0.99
path: /mnt/test1/media/config/beets/
containers:
- name: beets
image: lscr.io/linuxserver/beets:latest
#livenessProbe:
# exec:
# command:
# - cat
# - /tmp/FAILNOW
# # httpGet:
# # path: /health
# # port: 5030
# initialDelaySeconds: 21600 #reboot server every quarter day
# #initialDelaySeconds: 60
# failureThreshold: 2
# periodSeconds: 10
env:
- name: PUID
value: "1000"
- name: PGID
value: "1000"
- name: TZ
value: "Etc/UTC"
ports:
- containerPort: 8337
volumeMounts:
- name: config
mountPath: /config
- name: downloads
mountPath: /downloads
- name: library
mountPath: /music