Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mconf/mconf-mtail-exporter
https://github.com/mconf/mconf-mtail-exporter
Last synced: 20 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/mconf/mconf-mtail-exporter
- Owner: mconf
- Created: 2020-09-25T21:27:32.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-09-28T20:32:27.000Z (over 4 years ago)
- Last Synced: 2024-04-12T16:08:46.597Z (9 months ago)
- Language: Go
- Size: 1.95 KB
- Stars: 0
- Watchers: 6
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
## Como instalar (v0.1)
O exporter precisa de acesso à API do kubernetes para puxar os IPS
dos pods do mtail-controller. Para isso é preciso criar um `clusterrolebinding`
no clusterrole view rodando o seguinte comando.```bash
kubectl create clusterrolebinding default-view --clusterrole=view --serviceaccount=default:default
```Assim o exporter terá visão e a partir das variáveis de ambiente passadas (`MTAIL_EXPORTER_POD_NAME` e
`MTAIL_EXPORTER_NAMESPACE`) irá reconhecer os IPS automaticamente a cada acesso ao `/metrics`.