18 lines
360 B
YAML
18 lines
360 B
YAML
apiVersion: v1
|
|
kind: Pod
|
|
metadata:
|
|
name: pvc-inspector
|
|
namespace: minecraft
|
|
spec:
|
|
containers:
|
|
- image: busybox
|
|
name: pvc-inspector
|
|
command: ["sleep", "3600"]
|
|
volumeMounts:
|
|
- mountPath: /data
|
|
name: data
|
|
# subPath: minecraft
|
|
volumes:
|
|
- name: data
|
|
persistentVolumeClaim:
|
|
claimName: data
|