aboutsummaryrefslogtreecommitdiffstats
path: root/components/aai-traversal
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2019-11-28 13:28:35 +0100
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>2019-11-28 14:13:51 +0100
commit18747ec29947084c571d66f37f1a0fe85fbe4702 (patch)
tree81636bf9ee7d3f739858aa4c8016901abdade19e /components/aai-traversal
parent81954e51ef4c04fb08182d779f4871dfca766221 (diff)
Use global storage templates for PVC
OOM has now templates in order to create the needed PVC, using: * a PV with a specific class when using a common nfs mount path between nodes (sames as today use) --> is the default behavior today * or a storage class if we want to use dynamic PV. On this case, we use (in order of priority): - persistence.storageClassOverride if set on the chart - global.persistence.storageClass if set globally - persistence.storageClass if set on the chart I've also created a PV/PVC for elasticsearch has it was hardcoded to hostPath. I've also removed hostPath for job logs (aai-traversal logs were not put into the desired hostPath) And I moved the 3 jobs of aai-graphadmin into 3 files as it's a better practice (several object in the same file can lead to unexpected behavior). Behavior is supposed to be exactly the same as before. Issue-ID: OOM-1227 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I71c6cee8d7c33ef7bd39c40a43c26b377d4ceec3
Diffstat (limited to 'components/aai-traversal')
-rw-r--r--components/aai-traversal/templates/job.yaml3
1 files changed, 1 insertions, 2 deletions
diff --git a/components/aai-traversal/templates/job.yaml b/components/aai-traversal/templates/job.yaml
index 33bc694..5a49630 100644
--- a/components/aai-traversal/templates/job.yaml
+++ b/components/aai-traversal/templates/job.yaml
@@ -117,8 +117,7 @@ spec:
configMap:
name: aai-filebeat
- name: {{ include "common.fullname" . }}-logs
- hostPath:
- path: {{ .Values.persistence.mountPath }}/{{ .Release.Name }}/{{ .Values.persistence.mountSubPath }}-update-query
+ emptyDir: {}
- name: {{ include "common.fullname" . }}-logs-misc
emptyDir: {}
- name: {{ include "common.fullname" . }}-filebeat