hertzbeat

by KubeSphere

Helm chartv1.4.1App v1.4.1Verified publisher

An open-source, real-time monitoring system with custom monitoring, high performance cluster and agentless capabilities.

About this chart

Helm Chart for HertzBeat

What is HertzBeat?

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

Features

  • Combines monitoring, alarm, and notification features into one platform, and supports monitoring for web service, database, os, middleware, cloud-native, network and more.
  • Easy to use and agentless, offering full web-based operations for monitoring and alerting with just a few clicks, all at zero learning cost.
  • Makes protocols such as Http, Jmx, Ssh, Snmp, Jdbc configurable, allowing you to collect any metrics by simply configuring the template YML file online. Imagine being able to quickly adapt to a new monitoring type like K8s or Docker simply by configuring online with HertzBeat.
  • High performance, supports horizontal expansion of multi-collector clusters, multi-isolated network monitoring and cloud-edge collaboration.
  • Provides flexible alarm threshold rules and timely notifications delivered via Discord Slack Telegram Email Dingtalk WeChat FeiShu Webhook SMS ServerChan.

HertzBeat's powerful customization, multi-type support, high performance, easy expansion, and low coupling, aims to help developers and teams quickly build their own monitoring system.
We also provide SaaS Monitoring Cloud, users no longer need to deploy a cumbersome monitoring system to monitor their resources. Get started online for free.

Helm Chart for HertzBeat

This Helm chart installs HertzBeat in a Kubernetes cluster. Welcome to contribute to Helm Chart for HertzBeat.

Prerequisites

  • Kubernetes cluster 1.20+
  • Helm v3.2.0+

Installation

Add Helm repository

helm repo add hertzbeat https://charts.hertzbeat.com/
helm repo update

Configure the chart

The following items can be set via --set flag during installation or configured by editing the values.yaml directly (need to download the chart first).

Configure how to expose HertzBeat service

  • Ingress: The ingress controller must be installed in the Kubernetes cluster.
  • ClusterIP: Exposes the service on a cluster-internal IP. Choosing this value makes the service only reachable from within the cluster.
  • NodePort: Exposes the service on each Node’s IP at a static port (the NodePort). You’ll be able to contact the NodePort service, from outside the cluster, by requesting NodeIP:NodePort.
  • LoadBalancer: Exposes the service externally using a cloud provider’s load balancer.

Configure the external URL

The external URL for HertzBeat core service is used to:

  1. populate the docker/helm commands showed on portal
  2. populate the token service URL returned to docker client

Format: protocol://domain[:port]. Usually:

  • if service exposed via Ingress, the domain should be the value of expose.ingress.hosts.core
  • if service exposed via ClusterIP, the domain should be the value of expose.clusterIP.name
  • if service exposed via NodePort, the domain should be the IP address of one Kubernetes node
  • if service exposed via LoadBalancer, set the domain as your own domain name and add a CNAME record to map the domain name to the one you got from the cloud provider

If HertzBeat is deployed behind the proxy, set it as the URL of proxy.

Configure how to persist data

  • Disable: The data does not survive the termination of a pod.
  • Persistent Volume Claim(default): A default StorageClass is needed in the Kubernetes cluster to dynamically provision the volumes. Specify another StorageClass in the storageClass or set existingClaim if you already have existing persistent volumes to use.

Configure the other items listed in configuration section

Install the chart

Install the HertzBeat helm chart with a release name my-release:

helm install hertzbeat hertzbeat/hertzbeat

Uninstallation

To uninstall/delete the hertzbeat deployment:

helm uninstall hertzbeat

Configuration

The following table lists the configurable parameters of the HertzBeat chart and the default values.

ParameterDescriptionDefault
Expose
expose.typeHow to expose the service: ingress, clusterIP, nodePort or loadBalancer, other values will be ignored and the creation of service will be skipped.ingress
expose.clusterIP.nameThe name of ClusterIP servicehertzbeat
expose.clusterIP.annotationsThe annotations attached to the ClusterIP service{}
expose.clusterIP.ports.portThe service port HertzBeat listens on when serving HTTP80
expose.nodePort.nameThe name of NodePort servicehertzbeat
expose.nodePort.ports.portThe service port HertzBeat listens on when serving HTTP80
expose.nodePort.ports.nodePortThe node port HertzBeat listens on when serving HTTP30002
expose.loadBalancer.IPThe IP of the loadBalancer. It only works when loadBalancer supports assigning IP""
expose.loadBalancer.ports.portThe service port HertzBeat listens on when serving HTTP80
expose.loadBalancer.sourceRangesList of IP address ranges to assign to loadBalancerSourceRanges[]
Manager
manager.account.usernameThe hertzbeat account usernameadmin
manager.account.passwordThe hertzbeat account passwordhertzbeat
manager.resourcesThe [resources] to allocate for containerundefined
manager.nodeSelectorNode labels for pod assignment{}
manager.tolerationsTolerations for pod assignment[]
manager.affinityNode/Pod affinities{}
manager.podAnnotationsAnnotations to add to the nginx pod{}
Collector
collector.replicaCountThe replica count1
collector.autoscaling.enableIs enable auto scaling collector replicas1
collector.resourcesThe [resources] to allocate for containerundefined
collector.nodeSelectorNode labels for pod assignment{}
collector.tolerationsTolerations for pod assignment[]
collector.affinityNode/Pod affinities{}
collector.podAnnotationsAnnotations to add to the nginx pod{}
Database
database.timezoneThe database system timezone1
database.rootPasswordThe database root user password1
database.persistence.enabledEnable the data persistence or not

Deploy hertzbeat with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has hertzbeat on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the charthertzbeat is pinned at v1.4.1 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply