Skip to content

Instantly share code, notes, and snippets.

@cerebrate
Created May 15, 2023 19:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cerebrate/3c674bf4122d23d8578413a0af24e269 to your computer and use it in GitHub Desktop.
Save cerebrate/3c674bf4122d23d8578413a0af24e269 to your computer and use it in GitHub Desktop.
HA: recorderdb-pv
---
apiVersion: v1
kind: PersistentVolume
metadata:
name: recorderdb-pv
namespace: homeassistant
spec:
storageClassName: ""
capacity:
storage: 48Gi
accessModes:
- ReadWriteOnce
persistentVolumeReclaimPolicy: Retain
nodeAffinity:
required:
nodeSelectorTerms:
- matchExpressions:
- key: kubernetes.io/hostname
operator: In
values:
- princess-luna
hostPath:
path: /opt/k3store/recorderdb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment