This is an automated email from the ASF dual-hosted git repository.
Aias00 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/hertzbeat-helm-chart.git
The following commit(s) were added to refs/heads/main by this push:
new 7503db9 [fix] add startup probes for slow boot (#23)
7503db9 is described below
commit 7503db988c1b3377b33cd56494eb62626e2f0c60
Author: NekoPunch <[email protected]>
AuthorDate: Sun Aug 16 22:35:37 2026 -0700
[fix] add startup probes for slow boot (#23)
The manager needs well over 30s to boot, but the bare livenessProbe
kills the container after ~30s with k8s defaults, so pods crashloop
forever on typical nodes (#3849 in apache/hertzbeat). A startupProbe
grants a 5-minute boot budget before liveness takes over.
---
charts/hertzbeat/Chart.yaml | 2 +-
charts/hertzbeat/templates/collector/deployment.yaml | 5 +++++
charts/hertzbeat/templates/manager/deployment.yaml | 5 +++++
3 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/charts/hertzbeat/Chart.yaml b/charts/hertzbeat/Chart.yaml
index 012dfc7..65a42c7 100644
--- a/charts/hertzbeat/Chart.yaml
+++ b/charts/hertzbeat/Chart.yaml
@@ -29,7 +29,7 @@ icon:
https://raw.githubusercontent.com/apache/hertzbeat/master/home/static/img/
# This is the chart version. This version number should be incremented each
time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
-version: 1.8.0
+version: 1.8.1
# This is the version number of the application being deployed. This version
number should be
# incremented each time you make changes to the application. Versions are not
expected to
# follow Semantic Versioning. They should reflect the version the application
is using.
diff --git a/charts/hertzbeat/templates/collector/deployment.yaml
b/charts/hertzbeat/templates/collector/deployment.yaml
index 98954b7..509ed1e 100644
--- a/charts/hertzbeat/templates/collector/deployment.yaml
+++ b/charts/hertzbeat/templates/collector/deployment.yaml
@@ -51,6 +51,11 @@ spec:
ports:
- containerPort: 1159
protocol: TCP
+ startupProbe:
+ tcpSocket:
+ port: 1159
+ periodSeconds: 10
+ failureThreshold: 30
livenessProbe:
tcpSocket:
port: 1159
diff --git a/charts/hertzbeat/templates/manager/deployment.yaml
b/charts/hertzbeat/templates/manager/deployment.yaml
index 77fd44b..346fad1 100644
--- a/charts/hertzbeat/templates/manager/deployment.yaml
+++ b/charts/hertzbeat/templates/manager/deployment.yaml
@@ -53,6 +53,11 @@ spec:
- name: cluster
containerPort: 1158
protocol: TCP
+ startupProbe:
+ tcpSocket:
+ port: 1157
+ periodSeconds: 10
+ failureThreshold: 30
livenessProbe:
tcpSocket:
port: 1157
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]