initial commit
This commit is contained in:
39
namespaces/minecraft/minecraft-deployment.yml
Normal file
39
namespaces/minecraft/minecraft-deployment.yml
Normal file
@@ -0,0 +1,39 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: minecraft
|
||||
labels:
|
||||
app: minecraft
|
||||
namespace: minecraft
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: minecraft
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: minecraft
|
||||
spec:
|
||||
containers:
|
||||
- name: minecraft-forge
|
||||
image: kgrubb/forge:1.19
|
||||
imagePullPolicy: Always
|
||||
resources:
|
||||
requests:
|
||||
memory: "6144Mi"
|
||||
cpu: "2"
|
||||
limits:
|
||||
memory: "8192Mi"
|
||||
cpu: "4"
|
||||
ports:
|
||||
- containerPort: 25565
|
||||
securityContext:
|
||||
readOnlyRootFilesystem: false
|
||||
volumeMounts:
|
||||
- name: minecraft-world-saves
|
||||
mountPath: /forge/world
|
||||
volumes:
|
||||
- name: minecraft-world-saves
|
||||
persistentVolumeClaim:
|
||||
claimName: minecraft-world-saves
|
||||
Reference in New Issue
Block a user