Files
docker-images/cluster-monitoring-local
2022-10-12 13:20:42 +02:00
..
2022-10-12 13:20:42 +02:00
2022-10-12 13:20:42 +02:00
2021-01-21 12:53:10 +01:00
2021-01-21 10:06:01 +01: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