initial migration

This commit is contained in:
2023-10-05 14:34:37 +02:00
parent 5cb41fd5e4
commit 41f0153fd0
145 changed files with 17441 additions and 0 deletions

View File

@@ -0,0 +1,52 @@
apiVersion: v1
kind: Namespace
metadata:
name: minecraft
labels:
app: minecraft
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: forwarding
namespace: minecraft
labels:
app: forwarding
spec:
replicas: 1
selector:
matchLabels:
app: forwarding
template:
metadata:
labels:
app: forwarding
spec:
containers:
- name: forwarding
image: simonrupf/socat
tty: true
ports:
- containerPort: 25565
args: ["TCP4-LISTEN:25565,fork", "TCP6:mc.game.moll.re:25565"]
hostNetwork: true
nodeSelector:
hdd: enabled
# ensures we are running on 192.168.1.122, ie pi node 0
---
apiVersion: v1
kind: Service
metadata:
name: forwarding
namespace: minecraft
spec:
type: NodePort
ipFamilyPolicy: PreferDualStack
ports:
- name: mc
port: 25565
selector:
app: forwarding