6edfc77327
The "Configure a Pod to Use a PersistentVolume for Storage"-task specifies that the content should be located on "/mnt/data" and not "/tmp/data", however this is not reflected in the yaml.
15 lines
229 B
YAML
15 lines
229 B
YAML
kind: PersistentVolume
|
|
apiVersion: v1
|
|
metadata:
|
|
name: task-pv-volume
|
|
labels:
|
|
type: local
|
|
spec:
|
|
storageClassName: manual
|
|
capacity:
|
|
storage: 10Gi
|
|
accessModes:
|
|
- ReadWriteOnce
|
|
hostPath:
|
|
path: "/mnt/data"
|