scrape_configs:
- job_name: prometheus
kubernetes_sd_configs:
- role: endpoints
kubeconfig_file: /user1/.kube/config
basic_auth:
username: user
password: password