1cf47477d3
- 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/
33 lines
553 B
YAML
33 lines
553 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
|
|
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
|