euh§
This commit is contained in:
2025-12-07 02:44:28 +01:00
parent 6d328bb1a1
commit 9561abac77
9 changed files with 139 additions and 1 deletions

View File

@@ -0,0 +1,61 @@
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

View File

@@ -0,0 +1,14 @@
apiVersion: v1
kind: Service
metadata:
name: svc-beets
spec:
selector:
app.kubernetes.io/name: beets
ports:
- name: webui
protocol: TCP
port: 80
targetPort: 8337