Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/feffi/docker-netdata-autoscale
Auto scaling netdata ephemeral nodes for monitoring a cluster of docker hosts (preferable in rancher).
https://github.com/feffi/docker-netdata-autoscale
cluster compose docker ephemral host metrics mit mit-license monitoring netdata node performance rancher realtime
Last synced: 2 months ago
JSON representation
Auto scaling netdata ephemeral nodes for monitoring a cluster of docker hosts (preferable in rancher).
- Host: GitHub
- URL: https://github.com/feffi/docker-netdata-autoscale
- Owner: feffi
- License: mit
- Created: 2017-08-02T04:33:10.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2017-11-27T19:51:32.000Z (almost 7 years ago)
- Last Synced: 2024-05-11T01:32:16.351Z (5 months ago)
- Topics: cluster, compose, docker, ephemral, host, metrics, mit, mit-license, monitoring, netdata, node, performance, rancher, realtime
- Size: 228 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# docker-netdata-autoscale
Auto scaling netdata ephemeral nodes for monitoring a cluster of docker hosts (preferable in rancher).![Example dashboard](images/netdata-dashboard.png)
For more detailed information see
* https://github.com/firehol/netdata/wiki
* https://github.com/firehol/netdata/wiki/monitoring-ephemeral-nodes
* http://rancher.com/## Run
Just run the compose file:
```
$ docker-compose up -d .
```## Run (in Rancher)
Just paste the two from this repository configs (`docker-compose.yml` and `rancher-compose.yml`) to your monitoring stack and fire it up. Optionally you can change the `API key` to your needs.## Autoscaling and control
The scaling of netdata master and slave services (containers) is loosely based on labels in rancher.![Rancher monitoring stack](images/rancher-monitoring-stack.png)
A node inheriting the label `monitoring-slave = true` will start a monitoring slave (ephemeral node) and a node containing `monitoring-master`will start a master netdata (container).
![Rancher monitoring stack (hosts view)](images/rancher-monitoring-stack-hosts.png)
Both, master and slave containers can scale. For true autoscaling, just remove the label constraints for the `monitoring-slave = true` from the above config.