BorislavG | 66a9a5c | 2017-09-06 15:12:46 +0300 | [diff] [blame] | 1 | apiVersion: v1 |
| 2 | kind: PersistentVolume |
| 3 | metadata: |
| 4 | name: message-router-kafka |
| 5 | namespace: "{{ .Values.nsPrefix }}-message-router" |
| 6 | labels: |
| 7 | name: message-router-kafka |
| 8 | spec: |
| 9 | capacity: |
| 10 | storage: 2Gi |
| 11 | accessModes: |
| 12 | - ReadWriteMany |
| 13 | persistentVolumeReclaimPolicy: Retain |
| 14 | hostPath: |
| 15 | path: /dockerdata-nfs/{{ .Values.nsPrefix }}/message-router/dcae-startup-vm-message-router/docker_files/data-kafka/ |
| 16 | --- |
| 17 | kind: PersistentVolumeClaim |
| 18 | apiVersion: v1 |
| 19 | metadata: |
| 20 | name: message-router-kafka |
| 21 | namespace: "{{ .Values.nsPrefix }}-message-router" |
| 22 | spec: |
| 23 | accessModes: |
| 24 | - ReadWriteMany |
| 25 | resources: |
| 26 | requests: |
| 27 | storage: 2Gi |
| 28 | selector: |
| 29 | matchLabels: |
| 30 | name: message-router-kafka |
| 31 | --- |
| 32 | apiVersion: v1 |
| 33 | kind: PersistentVolume |
| 34 | metadata: |
| 35 | name: message-router-zookeeper |
| 36 | namespace: "{{ .Values.nsPrefix }}-message-router" |
| 37 | labels: |
| 38 | name: message-router-zookeeper |
| 39 | spec: |
| 40 | capacity: |
| 41 | storage: 2Gi |
| 42 | accessModes: |
| 43 | - ReadWriteMany |
| 44 | persistentVolumeReclaimPolicy: Retain |
| 45 | hostPath: |
| 46 | path: /dockerdata-nfs/{{ .Values.nsPrefix }}/message-router/dcae-startup-vm-message-router/docker_files/data-zookeeper |
| 47 | --- |
| 48 | kind: PersistentVolumeClaim |
| 49 | apiVersion: v1 |
| 50 | metadata: |
| 51 | name: message-router-zookeeper |
| 52 | namespace: "{{ .Values.nsPrefix }}-message-router" |
| 53 | spec: |
| 54 | accessModes: |
| 55 | - ReadWriteMany |
| 56 | resources: |
| 57 | requests: |
| 58 | storage: 2Gi |
| 59 | selector: |
| 60 | matchLabels: |
| 61 | name: message-router-zookeeper |