mirror of
https://github.com/JamesTurland/JimsGarage.git
synced 2025-10-03 17:06:16 +00:00
add-kubernetes
This commit is contained in:
19
Mosquitto/Kubernetes/pv.yaml
Normal file
19
Mosquitto/Kubernetes/pv.yaml
Normal file
@@ -0,0 +1,19 @@
|
||||
apiVersion: v1
|
||||
kind: PersistentVolume
|
||||
metadata:
|
||||
name: mosquitto
|
||||
spec:
|
||||
capacity:
|
||||
storage: 1Gi
|
||||
volumeMode: Filesystem
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
persistentVolumeReclaimPolicy: Retain
|
||||
storageClassName: longhorn
|
||||
csi:
|
||||
driver: driver.longhorn.io
|
||||
fsType: ext4
|
||||
volumeAttributes:
|
||||
numberOfReplicas: '2'
|
||||
staleReplicaTimeout: '2880'
|
||||
volumeHandle: mosquitto
|
Reference in New Issue
Block a user