Add Simple Voice Chat UDP routing for mudcraft

- Expose UDP 24454 on mudcraft pod and Service (Simple Voice Chat)
- Add Traefik voicechat UDP entrypoint on port 24454
- Add IngressRouteUDP to route external UDP 24454 → mudcraft service
This commit is contained in:
Will Anderson
2026-03-29 19:42:16 -05:00
parent bb8748d426
commit 27623af8f9
4 changed files with 27 additions and 0 deletions
@@ -0,0 +1,14 @@
---
# Traefik UDP route — exposes mudcraft.nook.family:24454 → mudcraft service (Simple Voice Chat)
apiVersion: traefik.io/v1alpha1
kind: IngressRouteUDP
metadata:
name: mudcraft-voicechat
namespace: mudcraft
spec:
entryPoints:
- voicechat
routes:
- services:
- name: mudcraft
port: 24454
+4
View File
@@ -13,6 +13,10 @@ spec:
port: 25565
targetPort: 25565
protocol: TCP
- name: voicechat
port: 24454
targetPort: 24454
protocol: UDP
type: ClusterIP
---
# RCON — internal only, for server management
@@ -40,6 +40,9 @@ spec:
- name: rcon
containerPort: 25575
protocol: TCP
- name: voicechat
containerPort: 24454
protocol: UDP
envFrom:
- configMapRef:
name: mudcraft-config
+6
View File
@@ -25,6 +25,12 @@ resource "kubernetes_manifest" "traefik_config" {
default: true
exposedPort: 25565
protocol: TCP
voicechat:
port: 24454
expose:
default: true
exposedPort: 24454
protocol: UDP
YAML
}
}