44 lines
1.1 KiB
YAML
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 |