Update elastic-deployment.yaml (#186)

- Removed `hostPort: 9200` from Deployment to prevent direct binding to node public IP

Signed-off-by: Viorel-Cosmin Miron <cosmin@uhl-services.ch>
This commit is contained in:
Viorel-Cosmin Miron
2025-08-13 15:33:38 +07:00
committed by GitHub
parent 547a3a7c75
commit 1e9d341752
+1 -2
View File
@@ -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
claimName: elastic