From 1e9d341752ff840181859fc9c5616cb42e155d95 Mon Sep 17 00:00:00 2001 From: Viorel-Cosmin Miron Date: Wed, 13 Aug 2025 10:33:38 +0200 Subject: [PATCH] Update elastic-deployment.yaml (#186) - Removed `hostPort: 9200` from Deployment to prevent direct binding to node public IP Signed-off-by: Viorel-Cosmin Miron --- kube/elastic/elastic-deployment.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/kube/elastic/elastic-deployment.yaml b/kube/elastic/elastic-deployment.yaml index 16dd526..45651ff 100644 --- a/kube/elastic/elastic-deployment.yaml +++ b/kube/elastic/elastic-deployment.yaml @@ -55,7 +55,6 @@ spec: name: elastic ports: - containerPort: 9200 - hostPort: 9200 protocol: TCP volumeMounts: - mountPath: /usr/share/elasticsearch/data @@ -64,4 +63,4 @@ spec: volumes: - name: elastic persistentVolumeClaim: - claimName: elastic \ No newline at end of file + claimName: elastic