Hi ... I have a hard time in doc to find how to Create a Peristence Volume with . . .

Laslo Pastor:
hi … I have a hard time in doc to find how to Create a Peristence Volume with a host path (mock test 1)

Bobses:
https://kubernetes.io/docs/tasks/configure-pod-container/configure-persistent-volume-storage/#create-a-persistentvolume

Laslo Pastor:
I populate like this

Laslo Pastor:
apiVersion: v1
kind: PersistentVolume
metadata:
name: custom-volume
spec:
storageClassName: manual
capacity:
storage: 50MiB
accessModes:
- ReadWriteMany
hostPath:
path: “/opt/data”

Laslo Pastor:
and giving me error

Laslo Pastor:
it seams it dosent like 50MiB capacity – when I put 10Gi it is working ??

Dean H:
@Laslo Pastor drop the B…it’s just 50Mi

Dean H:
https://github.com/kubernetes/community/blob/master/contributors/design-proposals/scheduling/resources.md#resource-quantities