Alex | 627a5ca | 2021-03-19 09:37:59 -0500 | [diff] [blame] | 1 | apiVersion: v1 |
2 | kind: Namespace | ||||
3 | metadata: | ||||
4 | name: qa-space | ||||
5 | --- | ||||
6 | apiVersion: v1 | ||||
7 | kind: PersistentVolume | ||||
8 | metadata: | ||||
9 | name: qa-pv | ||||
10 | namespace: qa-space | ||||
11 | labels: | ||||
12 | type: local | ||||
13 | spec: | ||||
14 | storageClassName: volumes-hdd | ||||
15 | capacity: | ||||
16 | storage: 50Gi | ||||
17 | accessModes: | ||||
18 | - ReadWriteOnce | ||||
19 | persistentVolumeReclaimPolicy: Retain | ||||
20 | hostPath: | ||||
21 | path: "/tmp/artifacts" | ||||
22 | --- | ||||
23 | apiVersion: v1 | ||||
24 | kind: PersistentVolumeClaim | ||||
25 | metadata: | ||||
26 | name: qa-pvc | ||||
27 | namespace: qa-space | ||||
28 | spec: | ||||
29 | storageClassName: volumes-hdd | ||||
30 | accessModes: | ||||
31 | - ReadWriteOnce | ||||
32 | resources: | ||||
33 | requests: | ||||
34 | storage: 50Gi |