From 263c87e369064eb48d06991a83ecd38e3b2fa629 Mon Sep 17 00:00:00 2001 From: Sven Ketelsen Date: Tue, 7 Jun 2022 14:50:39 +0200 Subject: [PATCH] feat: deployment --- .../templates/elastic/external-elastic-service.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/smardigo/templates/elastic/external-elastic-service.yml b/smardigo/templates/elastic/external-elastic-service.yml index 8fc5c5a..faba0d2 100644 --- a/smardigo/templates/elastic/external-elastic-service.yml +++ b/smardigo/templates/elastic/external-elastic-service.yml @@ -13,6 +13,9 @@ spec: - protocol: TCP port: 9200 targetPort: 9200 + - protocol: TCP + port: 9300 + targetPort: 9300 --- apiVersion: v1 kind: Endpoints @@ -23,6 +26,7 @@ subsets: - ip: {{ .Values.sharedService.elastic.host01.ip }} ports: - port: 9200 + - port: 9300 --- apiVersion: v1 kind: Service @@ -38,6 +42,9 @@ spec: - protocol: TCP port: 9200 targetPort: 9200 + - protocol: TCP + port: 9300 + targetPort: 9300 --- apiVersion: v1 kind: Endpoints @@ -48,6 +55,7 @@ subsets: - ip: {{ .Values.sharedService.elastic.host02.ip }} ports: - port: 9200 + - port: 9300 --- apiVersion: v1 kind: Service @@ -63,6 +71,9 @@ spec: - protocol: TCP port: 9200 targetPort: 9200 + - protocol: TCP + port: 9300 + targetPort: 9300 --- apiVersion: v1 kind: Endpoints @@ -72,4 +83,5 @@ subsets: - addresses: - ip: {{ .Values.sharedService.elastic.host03.ip }} ports: - - port: 9200 \ No newline at end of file + - port: 9200 + - port: 9300 \ No newline at end of file