ifx: service problem, better clients documentation
All checks were successful
Casa LMS CI/CD Pipeline / deploy (push) Successful in 17s

This commit is contained in:
2025-12-01 02:55:48 +00:00
parent 2649221f92
commit a74e6c796c
4 changed files with 59 additions and 7 deletions

View File

@@ -22,10 +22,34 @@ Using the SeaweedFS CSI driver on the Casa Kubernetes cluster, connected to cent
## Clients
RaspberryPI client:
**RaspberryPI client:**
- <https://git.limbosolutions.com/marcio.fernandes/pi.bluetooth.speaker>
**Fedora workstation:**
``` bash
sudo dfn install squeezelite
```
``` bash
# ~/.config/systemd/user/squeezelite.service
[Unit]
Description=Squeezelite Client
After=pipewire.service
[Service]
ExecStart=/usr/bin/squeezelite -o pipewire -s lms.casa.limbosolutions.com -n dionysus
Restart=on-failure
[Install]
WantedBy=default.target
```
``` bash
systemctl --user enable --now squeezelite.service
```
## Setup and Deploy
### App

View File

@@ -19,7 +19,7 @@ spec:
role: worker-node
containers:
- name: lyrionmusicserver
image: lmscommunity/lyrionmusicserver
image: lmscommunity/lyrionmusicserver:latest
imagePullPolicy: Always
volumeMounts:
- mountPath: /config
@@ -38,11 +38,9 @@ spec:
protocol: TCP
- name: 3483-sqz-tcp
containerPort: 3483
hostPort: 3483
protocol: TCP
- name: 3483-sqz-udp
containerPort: 3483
hostPort: 3483
protocol: UDP
resources:
requests:

View File

@@ -1,7 +1,7 @@
apiVersion: v1
kind: Service
metadata:
name: lyrionmusicserver
name: lyrionmusicserver-web
namespace: lyrionmusicserver
labels:
app: lyrionmusicserver
@@ -14,4 +14,34 @@ spec:
port: 9000
targetPort: 9000
type: ClusterIP
---
apiVersion: v1
kind: Service
metadata:
name: lyrionmusicserver-clients
namespace: lyrionmusicserver
spec:
selector:
app: lyrionmusicserver
type: LoadBalancer
ports:
#! SlimProto clients require both control and stream ports.
# - TCP/UDP 3483: control channel (registration, handshake, status).
# - TCP 9000: audio stream channel for local library playback.
# If 9000 is blocked, internet radio may still work (clients connect directly to external servers),
# but playback of music stored on the LMS host will fail because audio delivery depends on 9000.
- name: sqz-http
port: 9000
targetPort: 9000
protocol: TCP
- name: sqz-tcp
port: 3483
nodePort: 31444
targetPort: 3483
protocol: TCP
- name: sqz-udp
port: 3483
nodePort: 31445
targetPort: 3483
protocol: UDP

View File

@@ -10,7 +10,7 @@ spec:
- match: Host(`lms.casa.limbosolutions.com`)
kind: Rule
services:
- name: lyrionmusicserver
- name: lyrionmusicserver-web
port: 9000
tls:
secretName: casa-limbosolutions-com-tls