minecraft-servers/pvc-inpsector.yaml

18 lines
358 B
YAML

apiVersion: v1
kind: Pod
metadata:
name: pvc-inspector
namespace: superflat
spec:
containers:
- image: busybox
name: pvc-inspector
command: ["sleep", "3600"]
volumeMounts:
- mountPath: /data
name: data
subPath: minecraft
volumes:
- name: data
persistentVolumeClaim:
claimName: data