Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cropalato/helm-mon
Monitoring helm deployments
https://github.com/cropalato/helm-mon
Last synced: about 6 hours ago
JSON representation
Monitoring helm deployments
- Host: GitHub
- URL: https://github.com/cropalato/helm-mon
- Owner: cropalato
- License: mit
- Created: 2021-09-22T16:17:21.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-11-09T02:57:53.000Z (2 months ago)
- Last Synced: 2024-11-09T03:25:43.243Z (2 months ago)
- Language: Go
- Size: 80.1 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: license
Awesome Lists containing this project
README
# helm-mon
This project will monitor all helm charts installed in your cluster and expose as prometheus metrics when a chart is overdue.
## Example how prometheus metrics looks like
```
# HELP helm_chart_overdue The number of versions the chart is overdue.
# TYPE helm_chart_overdue gauge
helm_chart_overdue{chart="cert-manager",namespace="cert-manager",version="v1.5.3"} 0
helm_chart_overdue{chart="ingress-nginx",namespace="ingress-nginx",version="3.34.0"} -1
helm_chart_overdue{chart="vault",namespace="vault",version="0.15.0"} 1
```where:
| value | description |
|-------|-------------------------------------------------|
| -1 | The chart has not been found in monitored repos |
| 0 | The chart is up-to-date |
| >1 | Number of versions the chart is overdue. |## How to test locally
This project requires a kube config to access the cluster kubernetes and a helm file with all repose you want to use to check the upgrades.
```bash
docker run --rm --name helm-mon -v ${HOME}/.kube:/root/.kube -v ${HOME}/.config/helm:/root/.config/helm -p 2112:2112 cropalato/helm-mon:v0.1.0
```