Persistent Volumes
pms1969 opened this issue · 2 comments
pms1969 commented
Do you have a good example of how to add Persistent Volumes to a cluster? I've noticed that there is some data volume template in the definition, but don't really know how to configure it.
Cheers,
pms1969 commented
I've added
dataVolumeClaimTemplate:
-
metadata:
name: test-redis-volume
spec:
accessModes: [ "ReadWriteOnce" ]
resources:
requests:
storage: 10Gi
But just get back
spec.dataVolumeClaimTemplate in body must be of type object: "array"
which has me a bit confused. Any ideas?
pms1969 commented
Never mind. sorted it. Had to remove the -
.