summaryrefslogtreecommitdiffstats
path: root/kubernetes/log/templates/all-services.yaml
diff options
context:
space:
mode:
authorMandeep Khinda <Mandeep.Khinda@amdocs.com>2017-11-01 14:58:46 +0000
committerGerrit Code Review <gerrit@onap.org>2017-11-01 14:58:46 +0000
commit29dabc7b578687916d8ef105c794c9b3f0f89a5a (patch)
treeb3be8393bd25916fcd996a1681ae336be77e7d21 /kubernetes/log/templates/all-services.yaml
parent06a49cd534c1298d91d7e7257f9257f7d20f6ef2 (diff)
parent2631be86fae5d79ea6754ce7411da72463ed1167 (diff)
Merge "Fix configuration of elasticsearch"
Diffstat (limited to 'kubernetes/log/templates/all-services.yaml')
-rw-r--r--kubernetes/log/templates/all-services.yaml17
1 files changed, 16 insertions, 1 deletions
diff --git a/kubernetes/log/templates/all-services.yaml b/kubernetes/log/templates/all-services.yaml
index 3984f12521..0885affdcf 100644
--- a/kubernetes/log/templates/all-services.yaml
+++ b/kubernetes/log/templates/all-services.yaml
@@ -15,6 +15,21 @@ spec:
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 @@ spec:
selector:
app: kibana
type: NodePort
-#{{ end }} \ No newline at end of file
+#{{ end }}