Files
docker-images/prometheus
2020-11-09 13:59:58 +01:00
..
2020-07-03 09:42:39 +02:00
2020-06-25 11:45:07 +02:00
2020-06-25 11:45:07 +02:00

from :https://github.com/coreos/prometheus-operator/blob/master/Documentation/additional-scrape-config.md

create new secret:

kubectl create secret generic additional-scrape-configs --from-file=prometheus-additional.yaml --dry-run -oyaml > additional-scrape-configs.yaml

add "namespace: monitoring"

apply