-
Notifications
You must be signed in to change notification settings - Fork 69
Open
Description
Hi,
I'm trying to use your template to setup Kafka/Zookeeper on Kubernetes but am having a hard time understanding the link between PersistentVolume and volumeClaimTemplates.
Would you mind commenting on how to create the PersistentVolume pointing to a local path?
I have this setup, but when I apply your manifest I get the error below...
apiVersion: v1
kind: PersistentVolume
metadata:
name: datadir
labels:
type: local
spec:
storageClassName: datadir
capacity:
storage: 10Gi
accessModes:
- ReadWriteMany
hostPath:
path: "/kubernetes/zk/config"
Error is:
PersistentVolumeClaim is not bound: "datadir-zk-0" (repeated 6 times)
and the Persistent Volume Claims stay in pending.
Any help is greatly appreciated.
Kind regards,
Eric V.
Metadata
Metadata
Assignees
Labels
No labels