Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eumel8/rancher-servicemonitor
A Prometheus ServiceMonitor for Rancher API resources
https://github.com/eumel8/rancher-servicemonitor
Last synced: 21 days ago
JSON representation
A Prometheus ServiceMonitor for Rancher API resources
- Host: GitHub
- URL: https://github.com/eumel8/rancher-servicemonitor
- Owner: eumel8
- Created: 2024-03-23T14:59:34.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-09-26T08:06:37.000Z (3 months ago)
- Last Synced: 2024-10-16T08:48:04.357Z (2 months ago)
- Language: Go
- Size: 52.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Rancher ServiceMonitor
Collect metrics from Rancher API
- management.cattle.io
## installation
via Helm chart
- create an admin token (without scope) on your Rancher server to monitor
- create a secret in the target namespace of the app (must not be the Rancher upstream cluster)
```bash
$ kubectl create secret generic ranchertoken --from-literal RANCHER_TOKEN=token-xxxx
```- install the helm chart, adjust at least the `RANCHER_URL` env var
```bash
$ helm upgrade -i rancher-servicemonitor ./chart
```