kind: PersistentVolume
apiVersion: v1
metadata:
  name: zk-pv-3
  labels:
    type: local-zk
spec:
  storageClassName: local-storage
  capacity:
    storage: 2Gi
  accessModes:
    - ReadWriteOnce
  persistentVolumeReclaimPolicy: Retain
  local:
    path: /mnt/k8s/zookeeper/data
  nodeAffinity:
    required:
      nodeSelectorTerms:
      - matchExpressions:
        - key: zk-node
          operator: In
          values:
          - "true"
  
