aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/message-router/templates/message-router-pv-pvc.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/message-router/templates/message-router-pv-pvc.yaml')
-rw-r--r--kubernetes/message-router/templates/message-router-pv-pvc.yaml61
1 files changed, 61 insertions, 0 deletions
diff --git a/kubernetes/message-router/templates/message-router-pv-pvc.yaml b/kubernetes/message-router/templates/message-router-pv-pvc.yaml
new file mode 100644
index 0000000000..16d6fcd446
--- /dev/null
+++ b/kubernetes/message-router/templates/message-router-pv-pvc.yaml
@@ -0,0 +1,61 @@
+apiVersion: v1
+kind: PersistentVolume
+metadata:
+ name: message-router-kafka
+ namespace: "{{ .Values.nsPrefix }}-message-router"
+ labels:
+ name: message-router-kafka
+spec:
+ capacity:
+ storage: 2Gi
+ accessModes:
+ - ReadWriteMany
+ persistentVolumeReclaimPolicy: Retain
+ hostPath:
+ path: /dockerdata-nfs/{{ .Values.nsPrefix }}/message-router/dcae-startup-vm-message-router/docker_files/data-kafka/
+---
+kind: PersistentVolumeClaim
+apiVersion: v1
+metadata:
+ name: message-router-kafka
+ namespace: "{{ .Values.nsPrefix }}-message-router"
+spec:
+ accessModes:
+ - ReadWriteMany
+ resources:
+ requests:
+ storage: 2Gi
+ selector:
+ matchLabels:
+ name: message-router-kafka
+---
+apiVersion: v1
+kind: PersistentVolume
+metadata:
+ name: message-router-zookeeper
+ namespace: "{{ .Values.nsPrefix }}-message-router"
+ labels:
+ name: message-router-zookeeper
+spec:
+ capacity:
+ storage: 2Gi
+ accessModes:
+ - ReadWriteMany
+ persistentVolumeReclaimPolicy: Retain
+ hostPath:
+ path: /dockerdata-nfs/{{ .Values.nsPrefix }}/message-router/dcae-startup-vm-message-router/docker_files/data-zookeeper
+---
+kind: PersistentVolumeClaim
+apiVersion: v1
+metadata:
+ name: message-router-zookeeper
+ namespace: "{{ .Values.nsPrefix }}-message-router"
+spec:
+ accessModes:
+ - ReadWriteMany
+ resources:
+ requests:
+ storage: 2Gi
+ selector:
+ matchLabels:
+ name: message-router-zookeeper