This is an automated email from the ASF dual-hosted git repository.

kezhenxu94 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/skywalking-showcase.git


The following commit(s) were added to refs/heads/main by this push:
     new be4d9d7  Fix too many shards causing ES cluster yellow (#3)
be4d9d7 is described below

commit be4d9d70df1097c9d4541b83805b3c6ebd64220a
Author: Jared Tan <jian....@daocloud.io>
AuthorDate: Sun Nov 14 14:29:37 2021 +0800

    Fix too many shards causing ES cluster yellow (#3)
---
 deploy/platform/kubernetes/feature-cluster/resources.yaml     | 2 ++
 deploy/platform/kubernetes/feature-single-node/resources.yaml | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/deploy/platform/kubernetes/feature-cluster/resources.yaml 
b/deploy/platform/kubernetes/feature-cluster/resources.yaml
index 7638d41..61fafa2 100644
--- a/deploy/platform/kubernetes/feature-cluster/resources.yaml
+++ b/deploy/platform/kubernetes/feature-cluster/resources.yaml
@@ -205,6 +205,8 @@ spec:
               value: elasticsearch
             - name: SW_STORAGE_ES_CLUSTER_NODES
               value: elasticsearch:9200
+            - name: SW_STORAGE_ES_INDEX_REPLICAS_NUMBER
+              value: "0"
             - name: SW_TELEMETRY
               value: prometheus # @feature: so11y; expose the metrics of self 
o11y through prometheus
             - name: SW_ENVOY_METRIC_ALS_HTTP_ANALYSIS
diff --git a/deploy/platform/kubernetes/feature-single-node/resources.yaml 
b/deploy/platform/kubernetes/feature-single-node/resources.yaml
index e6f8e4f..02caeb6 100644
--- a/deploy/platform/kubernetes/feature-single-node/resources.yaml
+++ b/deploy/platform/kubernetes/feature-single-node/resources.yaml
@@ -155,6 +155,8 @@ spec:
               value: elasticsearch
             - name: SW_STORAGE_ES_CLUSTER_NODES
               value: elasticsearch:9200
+            - name: SW_STORAGE_ES_INDEX_REPLICAS_NUMBER
+              value: "0"
             - name: SW_TELEMETRY
               value: prometheus # @feature: so11y; expose the metrics of self 
o11y through prometheus
             - name: SW_ENVOY_METRIC_ALS_HTTP_ANALYSIS

Reply via email to