blob: e31e78c1fdb08aa30ee1c5c7cfb680ba0ac2f0fd [file] [log] [blame]
BorislavG66a9a5c2017-09-06 15:12:46 +03001apiVersion: v1
2kind: PersistentVolume
3metadata:
BorislavGabbe9d72017-09-12 18:00:28 +03004 name: "{{ .Values.nsPrefix }}-message-router-kafka"
BorislavG66a9a5c2017-09-06 15:12:46 +03005 namespace: "{{ .Values.nsPrefix }}-message-router"
6 labels:
BorislavGabbe9d72017-09-12 18:00:28 +03007 name: "{{ .Values.nsPrefix }}-message-router-kafka"
BorislavG66a9a5c2017-09-06 15:12:46 +03008spec:
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---
17kind: PersistentVolumeClaim
18apiVersion: v1
19metadata:
20 name: message-router-kafka
21 namespace: "{{ .Values.nsPrefix }}-message-router"
22spec:
23 accessModes:
24 - ReadWriteMany
25 resources:
26 requests:
27 storage: 2Gi
28 selector:
29 matchLabels:
BorislavGabbe9d72017-09-12 18:00:28 +030030 name: "{{ .Values.nsPrefix }}-message-router-kafka"
BorislavG66a9a5c2017-09-06 15:12:46 +030031---
32apiVersion: v1
33kind: PersistentVolume
34metadata:
BorislavGabbe9d72017-09-12 18:00:28 +030035 name: "{{ .Values.nsPrefix }}-message-router-zookeeper"
BorislavG66a9a5c2017-09-06 15:12:46 +030036 namespace: "{{ .Values.nsPrefix }}-message-router"
37 labels:
BorislavGabbe9d72017-09-12 18:00:28 +030038 name: "{{ .Values.nsPrefix }}-message-router-zookeeper"
BorislavG66a9a5c2017-09-06 15:12:46 +030039spec:
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---
48kind: PersistentVolumeClaim
49apiVersion: v1
50metadata:
51 name: message-router-zookeeper
52 namespace: "{{ .Values.nsPrefix }}-message-router"
53spec:
54 accessModes:
55 - ReadWriteMany
56 resources:
57 requests:
58 storage: 2Gi
59 selector:
60 matchLabels:
BorislavGabbe9d72017-09-12 18:00:28 +030061 name: "{{ .Values.nsPrefix }}-message-router-zookeeper"