blob: 989b118ca9d4e781e8e2907b920f266eb94cc6ca [file] [log] [blame]
Itay Hasside2da86d2017-08-24 12:54:42 +00001apiVersion: v1
2kind: PersistentVolume
3metadata:
4 name: elasticsearch-db
5 namespace: "{{ .Values.nsPrefix }}-log"
6 labels:
7 name: elasticsearch-db
8spec:
9 capacity:
10 storage: 2Gi
11 accessModes:
12 - ReadWriteMany
13 persistentVolumeReclaimPolicy: Retain
14 hostPath:
itay20025782017-09-14 19:02:45 +030015 path: /dockerdata-nfs/{{ .Values.nsPrefix }}/log/elasticsearch/data
Itay Hasside2da86d2017-08-24 12:54:42 +000016---
17kind: PersistentVolumeClaim
18apiVersion: v1
19metadata:
20 name: elasticsearch-db
21 namespace: "{{ .Values.nsPrefix }}-log"
22spec:
23 accessModes:
24 - ReadWriteMany
25 resources:
26 requests:
27 storage: 2Gi
28 selector:
29 matchLabels:
30 name: elasticsearch-db