Back to Beats

Heartbeat

deploy/kubernetes/heartbeat/README.md

9.4.01.1 KB
Original Source

Heartbeat

Monitor Kubernetes services uptime

Kubernetes Deployment

Heartbeat can be deployed to monitor the whole cluster from a single pod.

Everything is deployed under kube-system namespace, you can change that by updating YAML manifests under this folder.

Settings

We use official Beats Docker images, as they allow external files configuration, a ConfigMap is used for kubernetes specific settings. Check heartbeat-configmap.yaml for details.

Also, heartbeat-deployment.yaml uses a set of environment variables to configure Elasticsearch output:

VariableDefaultDescription
ELASTICSEARCH_HOSTelasticsearchElasticsearch host
ELASTICSEARCH_PORT9200Elasticsearch port
ELASTICSEARCH_USERNAMEelasticElasticsearch username for HTTP auth
ELASTICSEARCH_PASSWORDchangemeElasticsearch password

If there is an existing elasticsearch service in the kubernetes cluster these defaults will use it.