add newest changes to namespaces
This commit is contained in:
55
namespaces/tes3mp/tes3mp-deployment.yml
Normal file
55
namespaces/tes3mp/tes3mp-deployment.yml
Normal file
@@ -0,0 +1,55 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: tes3mp
|
||||
labels:
|
||||
app: tes3mp
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: tes3mp
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: tes3mp
|
||||
spec:
|
||||
containers:
|
||||
- name: tes3mp
|
||||
image: tes3mp/server
|
||||
resources:
|
||||
requests:
|
||||
memory: "64Mi"
|
||||
cpu: "250m"
|
||||
limits:
|
||||
memory: "128Mi"
|
||||
cpu: "500m"
|
||||
env:
|
||||
- name: TES3MP_SERVER_HOSTNAME
|
||||
value: "Tes3mp Server"
|
||||
- name: TES3MP_SERVER_PORT
|
||||
value: "25566"
|
||||
ports:
|
||||
- containerPort: 25566
|
||||
protocol: UDP
|
||||
securityContext:
|
||||
readOnlyRootFilesystem: false
|
||||
volumeMounts:
|
||||
- name: tes3mp-config-volume
|
||||
mountPath: /server/CoreScripts/data/requiredDataFiles.json
|
||||
subPath: requiredDataFiles.json
|
||||
- name: tes3mp-lua-config-volume
|
||||
mountPath: /server/CoreScripts/scripts/config.lua
|
||||
subPath: config.lua
|
||||
- name: server-data
|
||||
mountPath: /server/data
|
||||
volumes:
|
||||
- name: tes3mp-config-volume
|
||||
configMap:
|
||||
name: tes3mp-config
|
||||
- name: tes3mp-lua-config-volume
|
||||
configMap:
|
||||
name: tes3mp-lua-config
|
||||
- name: server-data
|
||||
persistentVolumeClaim:
|
||||
claimName: server-data
|
||||
Reference in New Issue
Block a user