add avorion

This commit is contained in:
HDW
2026-04-27 16:47:28 +02:00
parent d6ffa3f8ae
commit b7cce85dd0
3 changed files with 66 additions and 0 deletions

35
apps/deployment.yaml Normal file
View File

@@ -0,0 +1,35 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: avorion-server
spec:
replicas: 1
selector:
matchLabels:
app: avorion
template:
metadata:
labels:
app: avorion
spec:
containers:
- name: avorion
image: rfvgyhn/avorion:latest
ports:
- containerPort: 27000
protocol: UDP
- containerPort: 27000
protocol: TCP
- containerPort: 27003
protocol: UDP
- containerPort: 27020
protocol: UDP
- containerPort: 27021
protocol: UDP
volumeMounts:
- name: data
mountPath: /root/.avorion
volumes:
- name: data
persistentVolumeClaim:
claimName: avorion-data

10
apps/pvc.yaml Normal file
View File

@@ -0,0 +1,10 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: avorion-data
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 10Gi # Je nach Bedarf anpassen

21
apps/service.yaml Normal file
View File

@@ -0,0 +1,21 @@
apiVersion: v1
kind: Service
metadata:
name: avorion-service
spec:
selector:
app: avorion
ports:
- name: game-udp
port: 27000
targetPort: 27000
protocol: UDP
- name: game-tcp
port: 27000
targetPort: 27000
protocol: TCP
- name: steam-query
port: 27003
targetPort: 27003
protocol: UDP
type: LoadBalancer