dnd anpassung
This commit is contained in:
35
apps/avorion/deployment.yaml
Normal file
35
apps/avorion/deployment.yaml
Normal 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/avorion/pvc.yaml
Normal file
10
apps/avorion/pvc.yaml
Normal 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/avorion/service.yaml
Normal file
21
apps/avorion/service.yaml
Normal 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
|
||||
Reference in New Issue
Block a user