From 771073217d21b788b0d3f441c70c6a4a21c93b97 Mon Sep 17 00:00:00 2001 From: "zhangkun9038@dingtalk.com" Date: Mon, 31 Mar 2025 12:01:16 +0800 Subject: [PATCH] es-2 master --- elasticsearch-statefulSet.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/elasticsearch-statefulSet.yaml b/elasticsearch-statefulSet.yaml index f1800c2..215d677 100644 --- a/elasticsearch-statefulSet.yaml +++ b/elasticsearch-statefulSet.yaml @@ -38,7 +38,7 @@ spec: - name: discovery.seed_hosts value: "elasticsearch-0.efk.svc.cluster.local,elasticsearch-1.efk.svc.cluster.local,elasticsearch-2.efk.svc.cluster.local,elasticsearch-3.efk.svc.cluster.local" - name: cluster.initial_master_nodes - value: "[elasticsearch-0, elasticsearch-1, elasticsearch-3]" + value: "[elasticsearch-0, elasticsearch-1, elasticsearch-2, elasticsearch-3]" - name: xpack.security.enabled value: "false" - name: ES_JAVA_OPTS @@ -138,7 +138,7 @@ spec: - name: discovery.seed_hosts value: "elasticsearch-0.efk.svc.cluster.local,elasticsearch-1.efk.svc.cluster.local,elasticsearch-2.efk.svc.cluster.local,elasticsearch-3.efk.svc.cluster.local" - name: cluster.initial_master_nodes - value: "[elasticsearch-0, elasticsearch-1, elasticsearch-3]" + value: "[elasticsearch-0, elasticsearch-1, elasticsearch-2, elasticsearch-3]" - name: xpack.security.enabled value: "false" - name: ES_JAVA_OPTS @@ -238,7 +238,7 @@ spec: - name: discovery.seed_hosts value: "elasticsearch-0.efk.svc.cluster.local,elasticsearch-1.efk.svc.cluster.local,elasticsearch-2.efk.svc.cluster.local,elasticsearch-3.efk.svc.cluster.local" - name: cluster.initial_master_nodes - value: "[elasticsearch-0, elasticsearch-1, elasticsearch-3]" + value: "[elasticsearch-0, elasticsearch-1, elasticsearch-2, elasticsearch-3]" - name: xpack.security.enabled value: "false" - name: ES_JAVA_OPTS @@ -338,7 +338,7 @@ spec: - name: discovery.seed_hosts value: "elasticsearch-0.efk.svc.cluster.local,elasticsearch-1.efk.svc.cluster.local,elasticsearch-2.efk.svc.cluster.local,elasticsearch-3.efk.svc.cluster.local" - name: cluster.initial_master_nodes - value: "[elasticsearch-0, elasticsearch-1, elasticsearch-3]" + value: "[elasticsearch-0, elasticsearch-1, elasticsearch-2, elasticsearch-3]" - name: xpack.security.enabled value: "false" - name: ES_JAVA_OPTS