feat: Separate Icecast streaming server into standalone deployment with standby fallbacks
Sync HTPC Manifests to GitOps / Sync Manifests to GitOps Repo (push) Successful in 6s

This commit is contained in:
bart
2026-11-07 12:50:49 +01:00
parent e6b76d0e26
commit c05308417e
4 changed files with 107 additions and 60 deletions
+4 -56
View File
@@ -52,58 +52,7 @@ spec:
mountPath: /host-radio
readOnly: true
containers:
# Container 1: Icecast Audio & Video Streaming Server
- name: icecast
image: moul/icecast:latest
imagePullPolicy: IfNotPresent
env:
- name: ICECAST_SOURCE_PASSWORD
value: "hackme"
- name: ICECAST_ADMIN_PASSWORD
value: "hackme"
- name: ICECAST_PASSWORD
value: "hackme"
ports:
- name: icecast
containerPort: 8000
hostPort: 8000
protocol: TCP
resources:
requests:
cpu: 50m
memory: 64Mi
limits:
cpu: 500m
memory: 512Mi
volumeMounts:
- name: icecast-config
mountPath: /etc/icecast2/icecast.xml
subPath: icecast.xml
- name: data
mountPath: /usr/share/icecast2/web/standby.ogg
subPath: webroot/standby.ogg
- name: data
mountPath: /usr/share/icecast2/web/standby.mp3
subPath: webroot/standby.mp3
- name: data
mountPath: /usr/share/icecast2/web/standby_video.webm
subPath: webroot/standby_video.webm
livenessProbe:
httpGet:
path: /status-json.xsl
port: 8000
initialDelaySeconds: 15
periodSeconds: 20
timeoutSeconds: 5
readinessProbe:
httpGet:
path: /status-json.xsl
port: 8000
initialDelaySeconds: 5
periodSeconds: 10
timeoutSeconds: 5
# Container 2: Radio Chicken Web Application & Audio/Video Streamer
# Container: Radio Chicken Web Application & Audio/Video Streamer
- name: radio-chicken
image: git.bnhmeijer.nl/bart/radio-chicken:latest
imagePullPolicy: Always
@@ -117,7 +66,9 @@ spec:
- name: JELLYFIN_USER_ID
value: "40a220e1e05e4a4395c9b0c6569f6e82"
- name: ICECAST_URL
value: "icecast://source:hackme@127.0.0.1:8000/chicken"
value: "icecast://source:hackme@radio-chicken-icecast:8000/chicken"
- name: ICECAST_STATUS_URL
value: "http://radio-chicken-icecast:8000/status-json.xsl"
- name: VIDEO_ENCODER
value: "h264_vaapi"
- name: VAAPI_DEVICE
@@ -212,9 +163,6 @@ spec:
- name: data
persistentVolumeClaim:
claimName: radio-chicken-data
- name: icecast-config
configMap:
name: radio-chicken-icecast-config
- name: music-videos
hostPath:
path: /datadisk/htpc/music_video