scrape_configs:
- job_name: k8s-sd-test
  kubernetes_sd_configs:
  - role: endpoints
    namespaces:
      names:
      - test
    api_server: example.com
    basic_auth:
      username: foo
      password: bar
