2021-02-18 22:14:49 +00:00
|
|
|
scrape_configs:
|
|
|
|
- job_name: prometheus
|
|
|
|
|
|
|
|
kubernetes_sd_configs:
|
2021-06-12 10:47:47 +00:00
|
|
|
- role: pod
|
|
|
|
api_server: "https://localhost:1234"
|
2021-02-18 22:14:49 +00:00
|
|
|
|
2021-06-12 10:47:47 +00:00
|
|
|
authorization:
|
2021-02-18 22:14:49 +00:00
|
|
|
credentials: 1234
|
2021-06-12 10:47:47 +00:00
|
|
|
basic_auth:
|
|
|
|
username: user
|
|
|
|
password: password
|