Mercurial > code > home > repos > sco-bot
annotate k8s/volumes.yaml @ 16:7a87ba2f00d9
reformat, fix some types, make more async
author | drewp@bigasterisk.com |
---|---|
date | Fri, 19 Jul 2024 00:49:38 -0700 |
parents | 6ed25bcaaf1f |
children |
rev | line source |
---|---|
8 | 1 apiVersion: v1 |
2 kind: PersistentVolume | |
3 metadata: | |
4 name: sco-bot-data | |
16
7a87ba2f00d9
reformat, fix some types, make more async
drewp@bigasterisk.com
parents:
15
diff
changeset
|
5 labels: { type: local } |
8 | 6 spec: |
7 storageClassName: manual | |
16
7a87ba2f00d9
reformat, fix some types, make more async
drewp@bigasterisk.com
parents:
15
diff
changeset
|
8 hostPath: { path: "/my/serv/sco-bot/data" } |
7a87ba2f00d9
reformat, fix some types, make more async
drewp@bigasterisk.com
parents:
15
diff
changeset
|
9 capacity: { storage: 5Mi } |
15 | 10 accessModes: ["ReadWriteMany"] |
8 | 11 persistentVolumeReclaimPolicy: Retain |
16
7a87ba2f00d9
reformat, fix some types, make more async
drewp@bigasterisk.com
parents:
15
diff
changeset
|
12 claimRef: { namespace: default, name: sco-bot-data } |
8 | 13 --- |
14 apiVersion: v1 | |
15 kind: PersistentVolumeClaim | |
16
7a87ba2f00d9
reformat, fix some types, make more async
drewp@bigasterisk.com
parents:
15
diff
changeset
|
16 metadata: { name: sco-bot-data } |
8 | 17 spec: |
18 storageClassName: "" | |
19 volumeName: "sco-bot-data" | |
15 | 20 accessModes: ["ReadWriteMany"] |
16
7a87ba2f00d9
reformat, fix some types, make more async
drewp@bigasterisk.com
parents:
15
diff
changeset
|
21 resources: { requests: { storage: 5Mi } } |