github.com/koko1123/flow-go-1@v0.29.6/k8s/local/flow-persistent-volumes.yml (about) 1 apiVersion: v1 2 kind: PersistentVolume 3 metadata: 4 name: badger-pv-0 5 labels: 6 type: local 7 app: flow-test-net 8 spec: 9 storageClassName: standard 10 capacity: 11 storage: 10Gi 12 accessModes: 13 - ReadWriteOnce 14 - ReadOnlyMany 15 hostPath: 16 path: "/tmp/k8s/badger-pv-0" 17 18 --- 19 apiVersion: v1 20 kind: PersistentVolume 21 metadata: 22 name: badger-pv-1 23 labels: 24 type: local 25 app: flow-test-net 26 spec: 27 storageClassName: standard 28 capacity: 29 storage: 20Gi 30 accessModes: 31 - ReadWriteOnce 32 - ReadOnlyMany 33 hostPath: 34 path: "/tmp/k8s/badger-pv-1" 35 --- 36 apiVersion: v1 37 kind: PersistentVolume 38 metadata: 39 name: badger-pv-2 40 labels: 41 type: local 42 app: flow-test-net 43 spec: 44 storageClassName: standard 45 capacity: 46 storage: 20Gi 47 accessModes: 48 - ReadWriteOnce 49 - ReadOnlyMany 50 hostPath: 51 path: "/tmp/k8s/badger-pv-2" 52 53 --- 54 apiVersion: v1 55 kind: PersistentVolume 56 metadata: 57 name: badger-pv-3 58 labels: 59 type: local 60 app: flow-test-net 61 spec: 62 storageClassName: standard 63 capacity: 64 storage: 20Gi 65 accessModes: 66 - ReadWriteOnce 67 - ReadOnlyMany 68 hostPath: 69 path: "/tmp/k8s/badger-pv-3" 70 71 --- 72 apiVersion: v1 73 kind: PersistentVolume 74 metadata: 75 name: badger-pv-4 76 labels: 77 type: local 78 app: flow-test-net 79 spec: 80 storageClassName: standard 81 capacity: 82 storage: 20Gi 83 accessModes: 84 - ReadWriteOnce 85 - ReadOnlyMany 86 hostPath: 87 path: "/tmp/k8s/badger-pv-4" 88 89 --- 90 apiVersion: v1 91 kind: PersistentVolume 92 metadata: 93 name: badger-pv-5 94 labels: 95 type: local 96 app: flow-test-net 97 spec: 98 storageClassName: standard 99 capacity: 100 storage: 20Gi 101 accessModes: 102 - ReadWriteOnce 103 - ReadOnlyMany 104 hostPath: 105 path: "/tmp/k8s/badger-pv-5"