helm/ksp-lmpserver/deployment.yaml
Sense T ffef0a5d92 a
2022-10-01 09:09:30 +00:00

44 lines
1.1 KiB
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: ksp-lmpserver
spec:
selector:
matchLabels:
app: ksp-lmpserver
template:
metadata:
labels:
app: ksp-lmpserver
spec:
volumes:
- name: data
hostPath:
path: /data/ksp-lmpserver
containers:
- name: ksp-lmpserver
image: ghcr.io/lunamultiplayer/lunamultiplayer/server:master
imagePullPolicy: Always
stdin: true
tty: true
resources:
limits:
cpu: '1'
memory: '512Mi'
ports:
- name: ksp
protocol: UDP
containerPort: 8800
- protocol: TCP
containerPort: 8900
name: nport
volumeMounts:
- name: data
mountPath: /LMPServer/Config
subPath: Config
- name: data
mountPath: /LMPServer/Plugins
subPath: Plugins
- name: data
mountPath: /LMPServer/Universe
subPath: Universe