initial commit

This commit is contained in:
2023-10-19 15:53:26 -04:00
commit cd37c1fbb3
24 changed files with 1031 additions and 0 deletions

View 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