Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support deploy hertzbeat by kubernetes helm charts #1221

Merged
merged 17 commits into from
Sep 4, 2023
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@

> An open-source, real-time monitoring system with custom monitoring, high performance cluster and agentless capabilities. | 易用友好的开源实时监控告警系统,无需Agent,高性能集群,强大自定义监控能力.

[![Docker Pulls](https://img.shields.io/docker/pulls/tancloud/hertzbeat?style=%20for-the-badge&logo=docker&label=DockerHub%20Download)](https://hub.docker.com/repository/docker/tancloud/hertzbeat/general)
[![Artifact Hub](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/hertzbeat)](https://artifacthub.io/packages/search?repo=hertzbeat)
[![discord](https://img.shields.io/badge/chat-on%20discord-brightgreen)](https://discord.gg/Fb6M73htGr)
[![Gitter](https://badges.gitter.im/hertzbeat/community.svg)](https://gitter.im/hertzbeat/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
[![QQ](https://img.shields.io/badge/qq-236915833-orange)](https://jq.qq.com/?_wv=1027&k=aVIVB2K9)
Expand Down Expand Up @@ -164,10 +166,16 @@ Detailed steps refer to [CONTRIBUTING](CONTRIBUTING.md)

##### 4:Install All(hertzbeat+mysql+iotdb/tdengine) via Docker-compose

Install and deploy the mysql database, iotdb/tdengine database and hertzbeat at one time through [docker-compose deployment script](script/docker-compose).
Install the mysql database, iotdb/tdengine database and hertzbeat at one time through [docker-compose deployment script](script/docker-compose).

Detailed steps refer to [Install via Docker-Compose](script/docker-compose/README.md)

##### 5. Install All(hertzbeat+collector+mysql+iotdb) via kubernetes helm charts

Install HertzBeat cluster in a Kubernetes cluster by Helm chart.

Detailed steps refer to [Artifact Hub](https://artifacthub.io/packages/helm/hertzbeat/hertzbeat)

**HAVE FUN**

## 🥐 Roadmap
Expand Down
8 changes: 8 additions & 0 deletions README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@

> 易用友好的开源实时监控告警系统,无需Agent,高性能集群,强大自定义监控能力。

[![Docker Pulls](https://img.shields.io/docker/pulls/tancloud/hertzbeat?style=%20for-the-badge&logo=docker&label=DockerHub%20Download)](https://hub.docker.com/repository/docker/tancloud/hertzbeat/general)
[![Artifact Hub](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/hertzbeat)](https://artifacthub.io/packages/search?repo=hertzbeat)
[![discord](https://img.shields.io/badge/chat-on%20discord-brightgreen)](https://discord.gg/Fb6M73htGr)
[![Gitter](https://badges.gitter.im/hertzbeat/community.svg)](https://gitter.im/hertzbeat/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
[![QQ](https://img.shields.io/badge/qq-236915833-orange)](https://jq.qq.com/?_wv=1027&k=aVIVB2K9)
Expand Down Expand Up @@ -165,6 +167,12 @@ docker run -d -e IDENTITY=custom-collector-name -e MANAGER_IP=127.0.0.1 -e MANAG

详细步骤参考 [通过Docker-Compose安装HertzBeat](script/docker-compose/README.md)

##### 方式五:Kubernetes Helm Charts 部署 hertzbeat+collector+mysql+iotdb

通过 Helm Chart 一次性将 HertzBeat 集群组件部署到 Kubernetes 集群中。

详细步骤参考 [Artifact Hub](https://artifacthub.io/packages/helm/hertzbeat/hertzbeat)

**HAVE FUN**

## 🥐 路线图
Expand Down
3 changes: 3 additions & 0 deletions home/docs/others/developer.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ sidebar_label: Contributors
<td align="center" valign="top" width="14.28%"><a href="https://github.com/cuipiheqiuqiu"><img src="https://avatars.githubusercontent.com/u/76642201?v=4?s=100" width="100px;" alt="cuipiheqiuqiu"/><br /><sub><b>cuipiheqiuqiu</b></sub></a><br /><a href="https://github.com/dromara/hertzbeat/commits?author=cuipiheqiuqiu" title="Code">💻</a> <a href="https://github.com/dromara/hertzbeat/commits?author=cuipiheqiuqiu" title="Tests">⚠️</a> <a href="#design-cuipiheqiuqiu" title="Design">🎨</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/hudongdong129"><img src="https://avatars.githubusercontent.com/u/34374227?v=4?s=100" width="100px;" alt="hudongdong129"/><br /><sub><b>hudongdong129</b></sub></a><br /><a href="https://github.com/dromara/hertzbeat/commits?author=hudongdong129" title="Code">💻</a> <a href="https://github.com/dromara/hertzbeat/commits?author=hudongdong129" title="Tests">⚠️</a> <a href="https://github.com/dromara/hertzbeat/commits?author=hudongdong129" title="Documentation">📖</a></td>
</tr>
<tr>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/zqr10159"><img src="https://avatars.githubusercontent.com/u/30048352?v=4?s=100" width="100px;" alt="zqr10159"/><br /><sub><b>Logic</b></sub></a><br /><a href="https://github.com/dromara/hertzbeat/commits?author=zqr10159" title="Documentation">📖</a> <a href="https://github.com/dromara/hertzbeat/commits?author=zqr10159" title="Code">💻</a><a href="#design-Ceilzcx" title="Design">🎨</a></td>
</tr>
</tbody>
</table>

Expand Down
6 changes: 6 additions & 0 deletions home/docs/start/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,4 +77,10 @@ Install and deploy the mysql database, iotdb/tdengine database and hertzbeat at

Detailed steps refer to [Install via Docker-Compose](https://github.com/dromara/hertzbeat/tree/master/script/docker-compose)

##### 5. Install All(hertzbeat+collector+mysql+iotdb) via kubernetes helm charts

Install HertzBeat cluster in a Kubernetes cluster by Helm chart.

Detailed steps refer to [Artifact Hub](https://artifacthub.io/packages/helm/hertzbeat/hertzbeat)

**HAVE FUN**
4 changes: 4 additions & 0 deletions home/i18n/en/docusaurus-plugin-content-docs/current.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,5 +74,9 @@
"sidebar.docs.category.snmp": {
"message": "SNMP Protocol",
"description": "The label for category snmp in sidebar docs"
},
"sidebar.docs.link.Install via Helm": {
"message": "Install via Helm",
"description": "The label for link Install via Helm in sidebar docs, linking to https://marketplace.huaweicloud.com/contents/0477015c-ad63-4522-a308-816861769f0a#productid=OFFI863735781612109824"
}
}
78 changes: 78 additions & 0 deletions home/i18n/en/docusaurus-plugin-content-docs/version-v1.3.x.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
{
"version.label": {
"message": "v1.3.x",
"description": "The label for version v1.3.x"
},
"sidebar.docs.category.quickstart": {
"message": "quickstart",
"description": "The label for category quickstart in sidebar docs"
},
"sidebar.docs.category.custom": {
"message": "custom",
"description": "The label for category custom in sidebar docs"
},
"sidebar.docs.category.http": {
"message": "http",
"description": "The label for category http in sidebar docs"
},
"sidebar.docs.category.jdbc": {
"message": "jdbc",
"description": "The label for category jdbc in sidebar docs"
},
"sidebar.docs.category.ssh": {
"message": "ssh",
"description": "The label for category ssh in sidebar docs"
},
"sidebar.docs.category.jmx": {
"message": "jmx",
"description": "The label for category jmx in sidebar docs"
},
"sidebar.docs.category.snmp": {
"message": "snmp",
"description": "The label for category snmp in sidebar docs"
},
"sidebar.docs.category.help": {
"message": "help",
"description": "The label for category help in sidebar docs"
},
"sidebar.docs.category.service": {
"message": "service",
"description": "The label for category service in sidebar docs"
},
"sidebar.docs.category.database": {
"message": "database",
"description": "The label for category database in sidebar docs"
},
"sidebar.docs.category.os": {
"message": "os",
"description": "The label for category os in sidebar docs"
},
"sidebar.docs.category.mid": {
"message": "mid",
"description": "The label for category mid in sidebar docs"
},
"sidebar.docs.category.cloud-native": {
"message": "cloud-native",
"description": "The label for category cloud-native in sidebar docs"
},
"sidebar.docs.category.threshold": {
"message": "threshold",
"description": "The label for category threshold in sidebar docs"
},
"sidebar.docs.category.notice": {
"message": "notice",
"description": "The label for category notice in sidebar docs"
},
"sidebar.docs.category.Others": {
"message": "Others",
"description": "The label for category Others in sidebar docs"
},
"sidebar.docs.link.Cloud Service": {
"message": "Cloud Service",
"description": "The label for link Cloud Service in sidebar docs, linking to https://console.tancloud.cn"
},
"sidebar.docs.link.Install via HuaweiCloud": {
"message": "Install via HuaweiCloud",
"description": "The label for link Install via HuaweiCloud in sidebar docs, linking to https://marketplace.huaweicloud.com/contents/0477015c-ad63-4522-a308-816861769f0a#productid=OFFI863735781612109824"
}
}
4 changes: 4 additions & 0 deletions home/i18n/zh-cn/docusaurus-plugin-content-docs/current.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,5 +74,9 @@
"sidebar.docs.category.snmp": {
"message": "SNMP协议",
"description": "The label for category snmp in sidebar docs"
},
"sidebar.docs.link.Install via Helm": {
"message": "Kubernetes Helm部署",
"description": "The label for link Install via Helm in sidebar docs, linking to https://marketplace.huaweicloud.com/contents/0477015c-ad63-4522-a308-816861769f0a#productid=OFFI863735781612109824"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ sidebar_label: 开发者们
<td align="center" valign="top" width="14.28%"><a href="https://github.com/cuipiheqiuqiu"><img src="https://avatars.githubusercontent.com/u/76642201?v=4?s=100" width="100px;" alt="cuipiheqiuqiu"/><br /><sub><b>cuipiheqiuqiu</b></sub></a><br /><a href="https://github.com/dromara/hertzbeat/commits?author=cuipiheqiuqiu" title="Code">💻</a> <a href="https://github.com/dromara/hertzbeat/commits?author=cuipiheqiuqiu" title="Tests">⚠️</a> <a href="#design-cuipiheqiuqiu" title="Design">🎨</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/hudongdong129"><img src="https://avatars.githubusercontent.com/u/34374227?v=4?s=100" width="100px;" alt="hudongdong129"/><br /><sub><b>hudongdong129</b></sub></a><br /><a href="https://github.com/dromara/hertzbeat/commits?author=hudongdong129" title="Code">💻</a> <a href="https://github.com/dromara/hertzbeat/commits?author=hudongdong129" title="Tests">⚠️</a> <a href="https://github.com/dromara/hertzbeat/commits?author=hudongdong129" title="Documentation">📖</a></td>
</tr>
<tr>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/zqr10159"><img src="https://avatars.githubusercontent.com/u/30048352?v=4?s=100" width="100px;" alt="zqr10159"/><br /><sub><b>Logic</b></sub></a><br /><a href="https://github.com/dromara/hertzbeat/commits?author=zqr10159" title="Documentation">📖</a> <a href="https://github.com/dromara/hertzbeat/commits?author=zqr10159" title="Code">💻</a><a href="#design-Ceilzcx" title="Design">🎨</a></td>
</tr>
</tbody>
</table>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,4 +115,10 @@ docker run -d -e IDENTITY=custom-collector-name -e MANAGER_IP=127.0.0.1 -e MANAG

详细步骤参考 [docker-compose部署方案](https://github.com/dromara/hertzbeat/tree/master/script/docker-compose/README.md)

##### 方式五:Kubernetes Helm Charts 部署 hertzbeat+collector+mysql+iotdb

通过 Helm Chart 一次性将 HertzBeat 集群组件部署到 Kubernetes 集群中。

详细步骤参考 [Artifact Hub](https://artifacthub.io/packages/helm/hertzbeat/hertzbeat)

**HAVE FUN**
78 changes: 78 additions & 0 deletions home/i18n/zh-cn/docusaurus-plugin-content-docs/version-v1.3.x.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
{
"version.label": {
"message": "v1.3.x",
"description": "The label for version v1.3.x"
},
"sidebar.docs.category.quickstart": {
"message": "quickstart",
"description": "The label for category quickstart in sidebar docs"
},
"sidebar.docs.category.custom": {
"message": "custom",
"description": "The label for category custom in sidebar docs"
},
"sidebar.docs.category.http": {
"message": "http",
"description": "The label for category http in sidebar docs"
},
"sidebar.docs.category.jdbc": {
"message": "jdbc",
"description": "The label for category jdbc in sidebar docs"
},
"sidebar.docs.category.ssh": {
"message": "ssh",
"description": "The label for category ssh in sidebar docs"
},
"sidebar.docs.category.jmx": {
"message": "jmx",
"description": "The label for category jmx in sidebar docs"
},
"sidebar.docs.category.snmp": {
"message": "snmp",
"description": "The label for category snmp in sidebar docs"
},
"sidebar.docs.category.help": {
"message": "help",
"description": "The label for category help in sidebar docs"
},
"sidebar.docs.category.service": {
"message": "service",
"description": "The label for category service in sidebar docs"
},
"sidebar.docs.category.database": {
"message": "database",
"description": "The label for category database in sidebar docs"
},
"sidebar.docs.category.os": {
"message": "os",
"description": "The label for category os in sidebar docs"
},
"sidebar.docs.category.mid": {
"message": "mid",
"description": "The label for category mid in sidebar docs"
},
"sidebar.docs.category.cloud-native": {
"message": "cloud-native",
"description": "The label for category cloud-native in sidebar docs"
},
"sidebar.docs.category.threshold": {
"message": "threshold",
"description": "The label for category threshold in sidebar docs"
},
"sidebar.docs.category.notice": {
"message": "notice",
"description": "The label for category notice in sidebar docs"
},
"sidebar.docs.category.Others": {
"message": "Others",
"description": "The label for category Others in sidebar docs"
},
"sidebar.docs.link.Cloud Service": {
"message": "Cloud Service",
"description": "The label for link Cloud Service in sidebar docs, linking to https://console.tancloud.cn"
},
"sidebar.docs.link.Install via HuaweiCloud": {
"message": "Install via HuaweiCloud",
"description": "The label for link Install via HuaweiCloud in sidebar docs, linking to https://marketplace.huaweicloud.com/contents/0477015c-ad63-4522-a308-816861769f0a#productid=OFFI863735781612109824"
}
}
5 changes: 5 additions & 0 deletions home/sidebars.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@
"href": "https://marketplace.huaweicloud.com/contents/0477015c-ad63-4522-a308-816861769f0a#productid=OFFI863735781612109824"
},
"start/rainbond-deploy",
{
"type": "link",
"label": "Install via Helm",
"href": "https://artifacthub.io/packages/helm/hertzbeat/hertzbeat"
},
"start/iotdb-init",
"start/tdengine-init",
"start/greptime-init",
Expand Down
23 changes: 23 additions & 0 deletions script/helm/hertzbeat/.helmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Patterns to ignore when building packages.
# This supports shell glob matching, relative path matching, and
# negation (prefixed with !). Only one pattern per line.
.DS_Store
# Common VCS dirs
.git/
.gitignore
.bzr/
.bzrignore
.hg/
.hgignore
.svn/
# Common backup files
*.swp
*.bak
*.tmp
*.orig
*~
# Various IDEs
.project
.idea/
*.tmproj
.vscode/
21 changes: 21 additions & 0 deletions script/helm/hertzbeat/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
apiVersion: v2
name: hertzbeat
description: An open-source, real-time monitoring system with custom monitoring, high performance cluster and agentless capabilities.
type: application
home: https://hertzbeat.com/
sources:
- https://github.com/dromara/hertzbeat
- https://charts.hertzbeat.com
maintainers:
- name: tom
email: tomsun28@outlook.com
icon: https://raw.githubusercontent.com/dromara/hertzbeat/master/home/static/img/hertzbeat-logo.png
# 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.4.0
# 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.
# It is recommended to use it with quotes.
appVersion: "v1.4.0"
Loading