helm/ksp-dmpserver/deployment.yaml

38 lines
908 B
YAML
Raw Normal View History

2022-10-01 09:09:30 +00:00
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