Back to Charts

⚠️ Repo Archive Notice

stable/heartbeat/README.md

latest7.3 KB
Original Source

⚠️ Repo Archive Notice

As of Nov 13, 2020, charts in this repo will no longer be updated. For more information, see the Helm Charts Deprecation and Archive Notice, and Update.

heartbeat

heartbeat is a lightweight daemon that periodically check the status of your services and determine whether they are available.

DEPRECATION NOTICE

This chart is deprecated and no longer supported.

Introduction

This chart deploys heartbeat agents to all the nodes in your cluster via a DaemonSet.

By default this chart only ships a single output to a file on the local system. Users should set config.output.file.enabled=false and configure their own outputs as documented

Prerequisites

  • Kubernetes 1.9+

Installing the Chart

To install the chart with the release name my-release, run:

bash
$ helm install --name my-release stable/heartbeat

After a few minutes, you should see service statuses being written to the configured output, which is a log file inside the heartbeat container.

Tip: List all releases using helm list

Uninstalling the Chart

To uninstall/delete the my-release deployment:

bash
$ helm delete my-release

The command removes all the Kubernetes components associated with the chart and deletes the release.

Configuration

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

ParameterDescriptionDefault
image.repositoryThe image repository to pull fromdocker.elastic.co/beats/heartbeat
image.tagThe image tag to pull6.7.0
image.pullPolicyImage pull policyIfNotPresent
rbac.createIf true, create & use RBAC resourcestrue
rbac.serviceAccountexisting ServiceAccount to use (ignored if rbac.create=true)default
configThe content of the configuration file consumed by heartbeat. See the heartbeat documentation for full details
pluginsList of beat plugins
hostNetworkIf true, use hostNetworkfalse
extraVarsA map of additional environment variables
extraVolumes, extraVolumeMountsAdditional volumes and mounts, for example to provide other configuration files
resources.requests.cpuCPU resource requests
resources.limits.cpuCPU resource limits
resources.requests.memoryMemory resource requests
resources.limits.memoryMemory resource limits
priorityClassNamePriority class name
nodeSelectorNode Selector
tolerationsPod's tolerations

Specify each parameter using the --set key=value[,key=value] argument to helm install. For example,

bash
$ helm install --name my-release \
    --set rbac.create=true \
    stable/heartbeat

Alternatively, a YAML file that specifies the values for the parameters can be provided while installing the chart. For example,

bash
$ helm install --name my-release -f values.yaml stable/heartbeat

Tip: You can use the default values.yaml