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: |
Alex | 3bc29ae | 2021-04-02 18:06:00 -0500 | [diff] [blame] | 9 | name: qa-pv-a |
Alex | 627a5ca | 2021-03-19 09:37:59 -0500 | [diff] [blame] | 10 | namespace: qa-space |
| 11 | labels: |
| 12 | type: local |
| 13 | spec: |
Alex | 3bc29ae | 2021-04-02 18:06:00 -0500 | [diff] [blame] | 14 | storageClassName: storage_class |
Alex | 627a5ca | 2021-03-19 09:37:59 -0500 | [diff] [blame] | 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: |
Alex | 3bc29ae | 2021-04-02 18:06:00 -0500 | [diff] [blame] | 26 | name: qa-pvc-a |
Alex | 627a5ca | 2021-03-19 09:37:59 -0500 | [diff] [blame] | 27 | namespace: qa-space |
| 28 | spec: |
Alex | 3bc29ae | 2021-04-02 18:06:00 -0500 | [diff] [blame] | 29 | storageClassName: storage_class |
| 30 | accessModes: |
| 31 | - ReadWriteOnce |
| 32 | resources: |
| 33 | requests: |
| 34 | storage: 50Gi |
| 35 | --- |
| 36 | apiVersion: v1 |
| 37 | kind: PersistentVolume |
| 38 | metadata: |
| 39 | name: qa-pv-r |
| 40 | namespace: qa-space |
| 41 | labels: |
| 42 | type: local |
| 43 | spec: |
| 44 | storageClassName: storage_class |
| 45 | capacity: |
| 46 | storage: 50Gi |
| 47 | accessModes: |
| 48 | - ReadWriteOnce |
| 49 | persistentVolumeReclaimPolicy: Retain |
| 50 | hostPath: |
| 51 | path: "/tmp/artifacts" |
| 52 | --- |
| 53 | apiVersion: v1 |
| 54 | kind: PersistentVolumeClaim |
| 55 | metadata: |
| 56 | name: qa-pvc-r |
| 57 | namespace: qa-space |
| 58 | spec: |
| 59 | storageClassName: storage_class |
Alex | 627a5ca | 2021-03-19 09:37:59 -0500 | [diff] [blame] | 60 | accessModes: |
| 61 | - ReadWriteOnce |
| 62 | resources: |
| 63 | requests: |
| 64 | storage: 50Gi |