Files
infrastructure/servers/legion/k8s/mudcraft/service.yaml
Will Anderson 27623af8f9 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
2026-03-29 19:42:16 -05:00

37 lines
637 B
YAML

---
# ClusterIP — Traefik TCP route targets this
apiVersion: v1
kind: Service
metadata:
name: mudcraft
namespace: mudcraft
spec:
selector:
app: mudcraft
ports:
- name: minecraft
port: 25565
targetPort: 25565
protocol: TCP
- name: voicechat
port: 24454
targetPort: 24454
protocol: UDP
type: ClusterIP
---
# RCON — internal only, for server management
apiVersion: v1
kind: Service
metadata:
name: mudcraft-rcon
namespace: mudcraft
spec:
selector:
app: mudcraft
ports:
- name: rcon
port: 25575
targetPort: 25575
protocol: TCP
type: ClusterIP