k8s-clusters/home/manifests/apps/minecraft/forge-1.18.2-create/persistent-volume.yaml

22 lines
454 B
YAML
Raw Normal View History

2022-07-17 14:47:49 -05:00
---
apiVersion: v1
kind: PersistentVolume
metadata:
name: minecraft-forge-data
spec:
capacity:
storage: 8Gi
volumeMode: Filesystem
accessModes: [ReadWriteOnce]
persistentVolumeReclaimPolicy: Delete
storageClassName: local-storage
# local:
# path: /minecraft-forge
nodeAffinity:
required:
nodeSelectorTerms:
- matchExpressions:
- key: kubernetes.io/hostname
operator: In
values: [chromebox]