infra4talos/apps-kustomized/zigbee2mqtt/pv.yaml

22 lines
488 B
YAML
Raw Normal View History

apiVersion: v1
kind: PersistentVolume
metadata:
name: zigbee2mqtt
spec:
accessModes:
- ReadWriteOnce
capacity:
storage: 128Mi
hostPath:
path: /var/mnt/storage/zigbee2mqtt
type: DirectoryOrCreate
nodeAffinity:
required:
nodeSelectorTerms:
- matchExpressions:
- key: feature.node.kubernetes.io/usb-08_0781_5597.present
operator: Exists
persistentVolumeReclaimPolicy: Retain
storageClassName: local-path
volumeMode: Filesystem