Add working minecraft configuration
This commit is contained in:
parent
130fb8aef2
commit
a1f6d316ac
@ -21,3 +21,15 @@ spec:
|
|||||||
env:
|
env:
|
||||||
- name: EULA
|
- name: EULA
|
||||||
value: "TRUE"
|
value: "TRUE"
|
||||||
|
volumeMounts:
|
||||||
|
- name: minecraft-data
|
||||||
|
mountPath: /data/world
|
||||||
|
subPath: world
|
||||||
|
volumes:
|
||||||
|
- name: minecraft-data
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: minecraft-pvc
|
||||||
|
nodeSelector:
|
||||||
|
kubernetes.io/hostname: "archimedes"
|
||||||
|
securityContext:
|
||||||
|
fsGroup: 1000
|
||||||
|
11
minecraft/pvc.yaml
Normal file
11
minecraft/pvc.yaml
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
metadata:
|
||||||
|
name: minecraft-pvc
|
||||||
|
spec:
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteOnce
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 5Gi
|
||||||
|
storageClassName: flat-storage-class
|
Loading…
Reference in New Issue
Block a user