feat(multiplayer): wire allocated fleet runtime

This commit is contained in:
Josh Creek
2026-09-01 16:00:03 +01:00
parent 68e76b5feb
commit c0861bfcad
10 changed files with 196 additions and 23 deletions
+31
View File
@@ -66,3 +66,34 @@ spec:
podSelector:
matchLabels:
k8s-app: kube-dns
---
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: game-server-allowed-egress
namespace: cosmic-clash
spec:
podSelector:
matchLabels:
app.kubernetes.io/name: game-server
policyTypes: [Egress]
egress:
- to:
- podSelector:
matchLabels:
app.kubernetes.io/name: control-plane
ports:
- protocol: TCP
port: 8080
- ports:
- protocol: UDP
port: 53
- protocol: TCP
port: 53
to:
- namespaceSelector:
matchLabels:
kubernetes.io/metadata.name: kube-system
podSelector:
matchLabels:
k8s-app: kube-dns