6 lines
310 B
Markdown
6 lines
310 B
Markdown
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
|