Fix configuration of elasticsearch
elasticsearch config file was mapped to wrong location.
Effectively, elasticsearch.yml file was not taken into account and
default values are used.
Issue-ID: OOM-390
Signed-off-by: BorislavG <Borislav.Glozman@amdocs.com>
Change-Id: I494341f4c32dff9a13f4b0a460a24e6e9776c584
diff --git a/kubernetes/log/templates/all-services.yaml b/kubernetes/log/templates/all-services.yaml
index 3984f12..0885aff 100644
--- a/kubernetes/log/templates/all-services.yaml
+++ b/kubernetes/log/templates/all-services.yaml
@@ -15,6 +15,21 @@
selector:
app: elasticsearch
type: NodePort
+---
+apiVersion: v1
+kind: Service
+metadata:
+ name: elasticsearchtcp
+ namespace: {{ .Values.nsPrefix }}-log
+ labels:
+ app: elasticsearch
+spec:
+ ports:
+ - name: tcp
+ port: 9300
+ targetPort: 9300
+ selector:
+ app: elasticsearch
#{{ end }}
#{{ if not .Values.disableLogLogstash }}
---
@@ -51,4 +66,4 @@
selector:
app: kibana
type: NodePort
-#{{ end }}
\ No newline at end of file
+#{{ end }}