apiVersion: v1 kind: PersistentVolume metadata: name: kafka-pv spec: capacity: storage: 9Gi volumeMode: Filesystem accessModes: - ReadWriteOnce persistentVolumeReclaimPolicy: Recycle hostPath: path: /data/kafka