Add MUDCraft Minecraft server infrastructure

- Purpur 1.21.4 server via itzg/docker-minecraft-server (java21)
- StatefulSet with 3 PVCs: worlds (20Gi), plugins (5Gi), logs (5Gi)
- Aikar G1GC JVM flags, 6GB heap (sized for Legion's 15GB RAM)
- Postgres: mudcraft database + user in existing platform/postgres
- RCON secret + DB password via ExternalSecret → Vault
- Traefik TCP entrypoint on port 25565 for mudcraft.nook.family
- mudcraft namespace via Terraform
- Argo CD app watching k8s/mudcraft/
This commit is contained in:
Will Anderson
2026-03-29 18:17:42 -05:00
parent 9161ab0104
commit 1cf47477d3
9 changed files with 296 additions and 0 deletions
@@ -0,0 +1,15 @@
---
# Traefik TCP route — exposes mudcraft.nook.family:25565 → mudcraft service
apiVersion: traefik.io/v1alpha1
kind: IngressRouteTCP
metadata:
name: mudcraft-minecraft
namespace: mudcraft
spec:
entryPoints:
- minecraft
routes:
- match: HostSNI(`*`)
services:
- name: mudcraft
port: 25565