You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by li...@apache.org on 2026/06/29 11:17:49 UTC

(skywalking-banyandb-helm) branch disable-metrics-fetch created (now c96a299)

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

mrproliu pushed a change to branch disable-metrics-fetch
in repository https://gitbox.apache.org/repos/asf/skywalking-banyandb-helm.git


      at c96a299  disable the lifecycle metrics collector if the contianer disabled

This branch includes the following new commits:

     new c96a299  disable the lifecycle metrics collector if the contianer disabled

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(skywalking-banyandb-helm) 01/01: disable the lifecycle metrics collector if the contianer disabled

Posted by li...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

mrproliu pushed a commit to branch disable-metrics-fetch
in repository https://gitbox.apache.org/repos/asf/skywalking-banyandb-helm.git

commit c96a29952931a8e6041829ff1e806319b887b586
Author: mrproliu <74...@qq.com>
AuthorDate: Mon Jun 29 19:17:34 2026 +0800

    disable the lifecycle metrics collector if the contianer disabled
---
 chart/templates/cluster_data_statefulset.yaml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/chart/templates/cluster_data_statefulset.yaml b/chart/templates/cluster_data_statefulset.yaml
index d22e3e8..9b21e15 100644
--- a/chart/templates/cluster_data_statefulset.yaml
+++ b/chart/templates/cluster_data_statefulset.yaml
@@ -306,9 +306,15 @@ spec:
           args:
             - --proxy-addr={{ template "banyandb.fullname" $ }}-fodc-proxy-grpc:{{ $.Values.cluster.fodc.proxy.grpcSvc.port }}
             - --pod-name=$(POD_NAME)
+            {{- if $roleConfig.lifecycleSidecar.enabled }}
             - --container-names=data,lifecycle
             - --poll-metrics-ports=2121,17915
             - --cluster-state-ports=17912,17914
+            {{- else }}
+            - --container-names=data
+            - --poll-metrics-ports=2121
+            - --cluster-state-ports=17912
+            {{- end }}
             - --lifecycle-port=17912
             {{- if $roleConfig.lifecycleSidecar.enabled }}
             - --lifecycle-report-dir={{ default "/tmp/lifecycle-reports" $roleConfig.lifecycleSidecar.reportDir }}