38 lines
908 B
YAML
38 lines
908 B
YAML
|
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
|