This commit is contained in:
Sense T
2022-10-01 09:09:30 +00:00
parent 938db68be9
commit ffef0a5d92
19 changed files with 429 additions and 0 deletions
+38
View File
@@ -0,0 +1,38 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: ksp-dmpserver
spec:
selector:
matchLabels:
app: ksp-dmpserver
template:
metadata:
labels:
app: ksp-dmpserver
spec:
volumes:
- name: data
hostPath:
path: /data/ksp-server
containers:
- name: ksp-dmpserver
image: ksp-dmpserver
resources:
limits:
cpu: '1'
memory: '512Mi'
ports:
- name: ksp
protocol: TCP
containerPort: 6702
volumeMounts:
- name: data
mountPath: /opt/DMPServer/Config
subPath: Config
- name: data
mountPath: /opt/DMPServer/Plugins
subPath: Plugins
- name: data
mountPath: /opt/DMPServer/Universe
subPath: Universe