docker container to validate a prometheus config
Built this container to supply a unit test step in a continuous integration pipeline where prometheus configs will be deployed via a pipeline.
Mount your configfiles to the /workdir directory and run:
/usr/bin/docker run -it -e PROM_VERSION=2.8.0 -v ./config:/workdir lukasbahr/prom-validator:master check config prometheus.yml
git tag <PROM_VERSION>
&& git push --tags
- add ability to validate prometheus.yml files within a Kubernetes configmap.
- Lukas Bahr, [email protected]