{"action":"created","issue":{"url":"https://api.github.com/repos/DataDog/dd-agent/issues/2794","repository_url":"https://api.github.com/repos/DataDog/dd-agent","labels_url":"https://api.github.com/repos/DataDog/dd-agent/issues/2794/labels{/name}","comments_url":"https://api.github.com/repos/DataDog/dd-agent/issues/2794/comments","events_url":"https://api.github.com/repos/DataDog/dd-agent/issues/2794/events","html_url":"https://github.com/DataDog/dd-agent/issues/2794","id":173578339,"number":2794,"title":"[kubernetes] Use pod annotations for service discovery","user":{"login":"mikekap","id":43191,"avatar_url":"https://avatars.githubusercontent.com/u/43191?v=3","gravatar_id":"","url":"https://api.github.com/users/mikekap","html_url":"https://github.com/mikekap","followers_url":"https://api.github.com/users/mikekap/followers","following_url":"https://api.github.com/users/mikekap/following{/other_user}","gists_url":"https://api.github.com/users/mikekap/gists{/gist_id}","starred_url":"https://api.github.com/users/mikekap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikekap/subscriptions","organizations_url":"https://api.github.com/users/mikekap/orgs","repos_url":"https://api.github.com/users/mikekap/repos","events_url":"https://api.github.com/users/mikekap/events{/privacy}","received_events_url":"https://api.github.com/users/mikekap/received_events","type":"User","site_admin":false},"labels":[{"id":447442420,"url":"https://api.github.com/repos/DataDog/dd-agent/labels/service%20discovery","name":"service discovery","color":"bfd4f2","default":false}],"state":"closed","locked":false,"assignee":{"login":"hkaj","id":5287287,"avatar_url":"https://avatars.githubusercontent.com/u/5287287?v=3","gravatar_id":"","url":"https://api.github.com/users/hkaj","html_url":"https://github.com/hkaj","followers_url":"https://api.github.com/users/hkaj/followers","following_url":"https://api.github.com/users/hkaj/following{/other_user}","gists_url":"https://api.github.com/users/hkaj/gists{/gist_id}","starred_url":"https://api.github.com/users/hkaj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hkaj/subscriptions","organizations_url":"https://api.github.com/users/hkaj/orgs","repos_url":"https://api.github.com/users/hkaj/repos","events_url":"https://api.github.com/users/hkaj/events{/privacy}","received_events_url":"https://api.github.com/users/hkaj/received_events","type":"User","site_admin":false},"assignees":[{"login":"hkaj","id":5287287,"avatar_url":"https://avatars.githubusercontent.com/u/5287287?v=3","gravatar_id":"","url":"https://api.github.com/users/hkaj","html_url":"https://github.com/hkaj","followers_url":"https://api.github.com/users/hkaj/followers","following_url":"https://api.github.com/users/hkaj/following{/other_user}","gists_url":"https://api.github.com/users/hkaj/gists{/gist_id}","starred_url":"https://api.github.com/users/hkaj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hkaj/subscriptions","organizations_url":"https://api.github.com/users/hkaj/orgs","repos_url":"https://api.github.com/users/hkaj/repos","events_url":"https://api.github.com/users/hkaj/events{/privacy}","received_events_url":"https://api.github.com/users/hkaj/received_events","type":"User","site_admin":false}],"milestone":null,"comments":7,"created_at":"2016-08-27T05:08:23Z","updated_at":"2016-11-03T22:29:35Z","closed_at":"2016-09-22T18:32:33Z","body":"Service discovery looks perfect for monitoring things running in kube. However, setting up another etcd cluster and keeping it up-to-date with deployments would get annoying.\n\nKubernetes lets you store arbitrary metadata in the `annotations` on a pod, which could include the datadog check config. That would be a pretty lean and powerful setup - you could switch monitoring configurations for your `Deployment` and get a rolling deploy of it. The metadata is stored in etcd at the end, so it's essentially the same setup. The nice part is there are less moving parts - you can reuse your existing \"push to prod\" logic to push monitoring logic.\n"},"comment":{"url":"https://api.github.com/repos/DataDog/dd-agent/issues/comments/258293428","html_url":"https://github.com/DataDog/dd-agent/issues/2794#issuecomment-258293428","issue_url":"https://api.github.com/repos/DataDog/dd-agent/issues/2794","id":258293428,"user":{"login":"mikekap","id":43191,"avatar_url":"https://avatars.githubusercontent.com/u/43191?v=3","gravatar_id":"","url":"https://api.github.com/users/mikekap","html_url":"https://github.com/mikekap","followers_url":"https://api.github.com/users/mikekap/followers","following_url":"https://api.github.com/users/mikekap/following{/other_user}","gists_url":"https://api.github.com/users/mikekap/gists{/gist_id}","starred_url":"https://api.github.com/users/mikekap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikekap/subscriptions","organizations_url":"https://api.github.com/users/mikekap/orgs","repos_url":"https://api.github.com/users/mikekap/repos","events_url":"https://api.github.com/users/mikekap/events{/privacy}","received_events_url":"https://api.github.com/users/mikekap/received_events","type":"User","site_admin":false},"created_at":"2016-11-03T22:29:35Z","updated_at":"2016-11-03T22:29:35Z","body":"@stvnwrgs You probably want to check the dd-agent collector logs - you'd want to exec into the dd-agent container and `cat /var/log/datadog-agent/collector.log`. You may see something useful there.\r\n\r\nSeparately, you may want to be careful depending on this (undocumented) feature for now since #2901 changes it a little (the annotations are different)."}}
{"actor":{"display_login":"mikekap"}}