{"action":"opened","issue":{"url":"https://api.github.com/repos/prometheus/prometheus/issues/4016","repository_url":"https://api.github.com/repos/prometheus/prometheus","labels_url":"https://api.github.com/repos/prometheus/prometheus/issues/4016/labels{/name}","comments_url":"https://api.github.com/repos/prometheus/prometheus/issues/4016/comments","events_url":"https://api.github.com/repos/prometheus/prometheus/issues/4016/events","html_url":"https://github.com/prometheus/prometheus/issues/4016","id":308754541,"number":4016,"title":"SD for Kubernetes API Server","user":{"login":"nsauro","id":2262111,"avatar_url":"https://avatars1.githubusercontent.com/u/2262111?v=4","gravatar_id":"","url":"https://api.github.com/users/nsauro","html_url":"https://github.com/nsauro","followers_url":"https://api.github.com/users/nsauro/followers","following_url":"https://api.github.com/users/nsauro/following{/other_user}","gists_url":"https://api.github.com/users/nsauro/gists{/gist_id}","starred_url":"https://api.github.com/users/nsauro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nsauro/subscriptions","organizations_url":"https://api.github.com/users/nsauro/orgs","repos_url":"https://api.github.com/users/nsauro/repos","events_url":"https://api.github.com/users/nsauro/events{/privacy}","received_events_url":"https://api.github.com/users/nsauro/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-26T22:15:29Z","updated_at":"2018-03-26T22:15:29Z","closed_at":null,"author_association":"NONE","body":"As per the [documentation](https://prometheus.io/docs/prometheus/latest/configuration/configuration/#%3Ckubernetes_sd_config%3E) on `kubernetes_sd_configs`\r\n\r\n```\r\n# The API server addresses. If left empty, Prometheus is assumed to run inside\r\n# of the cluster and will discover API servers automatically and use the pod's\r\n# CA certificate and bearer token file at /var/run/secrets/kubernetes.io/serviceaccount/.\r\n```\r\nMy use case is that I'm running Prometheus outside of the Kubernetes Cluster that it is monitoring(for fear that if the cluster goes haywire, it doesn't bring down our eye and ears with it).  It would be nice to be able to use some kind of SD mechanism to find the API servers vs hardcoding in a list of servers.\r\n\r\nThanks!"}}
{"actor":{"display_login":"nsauro"}}