From 9d46389431cfadc8fab3826ab5d358f90135ff0d Mon Sep 17 00:00:00 2001 From: Johann Hoffmann Date: Tue, 3 May 2022 12:39:47 +0200 Subject: [PATCH] Expose Elasticsearch through internal AWS LB Signed-off-by: Johann Hoffmann --- helmfile/cloud-sdk/helmfile.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/helmfile/cloud-sdk/helmfile.yaml b/helmfile/cloud-sdk/helmfile.yaml index c54d69f..96dd51f 100644 --- a/helmfile/cloud-sdk/helmfile.yaml +++ b/helmfile/cloud-sdk/helmfile.yaml @@ -458,6 +458,17 @@ releases: memory: 4Gi heapSize: "2048m" + - service: + type: LoadBalancer + annotations: + service.beta.kubernetes.io/aws-load-balancer-type: "nlb-ip" + service.beta.kubernetes.io/aws-load-balancer-internal: "true" + ports: + - name: elasticsearch + port: 9200 + targetPort: 9200 + protocol: TCP + - name: elasticsearch-curator condition: elastic.enabled namespace: {{ .Environment.Values.monitoring.namespace }}