{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/23684","repository_url":"https://api.github.com/repos/kubernetes/kubernetes","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/23684/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/23684/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/23684/events","html_url":"https://github.com/kubernetes/kubernetes/pull/23684","id":144977919,"number":23684,"title":"Automatically add node labels beta.kubernetes.io/{os,arch}","user":{"login":"luxas","id":5442475,"avatar_url":"https://avatars.githubusercontent.com/u/5442475?v=3","gravatar_id":"","url":"https://api.github.com/users/luxas","html_url":"https://github.com/luxas","followers_url":"https://api.github.com/users/luxas/followers","following_url":"https://api.github.com/users/luxas/following{/other_user}","gists_url":"https://api.github.com/users/luxas/gists{/gist_id}","starred_url":"https://api.github.com/users/luxas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luxas/subscriptions","organizations_url":"https://api.github.com/users/luxas/orgs","repos_url":"https://api.github.com/users/luxas/repos","events_url":"https://api.github.com/users/luxas/events{/privacy}","received_events_url":"https://api.github.com/users/luxas/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/cla:%20yes","name":"cla: yes","color":"bfe5bf"},{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/ok-to-merge","name":"ok-to-merge","color":"fbca04"},{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/release-note","name":"release-note","color":"c2e0c6"},{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/size/S","name":"size/S","color":"77bb00"}],"state":"open","locked":false,"assignee":{"login":"davidopp","id":8264113,"avatar_url":"https://avatars.githubusercontent.com/u/8264113?v=3","gravatar_id":"","url":"https://api.github.com/users/davidopp","html_url":"https://github.com/davidopp","followers_url":"https://api.github.com/users/davidopp/followers","following_url":"https://api.github.com/users/davidopp/following{/other_user}","gists_url":"https://api.github.com/users/davidopp/gists{/gist_id}","starred_url":"https://api.github.com/users/davidopp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidopp/subscriptions","organizations_url":"https://api.github.com/users/davidopp/orgs","repos_url":"https://api.github.com/users/davidopp/repos","events_url":"https://api.github.com/users/davidopp/events{/privacy}","received_events_url":"https://api.github.com/users/davidopp/received_events","type":"User","site_admin":false},"milestone":null,"comments":34,"created_at":"2016-03-31T18:16:19Z","updated_at":"2016-04-19T06:25:29Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/23684","html_url":"https://github.com/kubernetes/kubernetes/pull/23684","diff_url":"https://github.com/kubernetes/kubernetes/pull/23684.diff","patch_url":"https://github.com/kubernetes/kubernetes/pull/23684.patch"},"body":"Proposal: #17981\r\nAs discussed in #22623:\r\n> @davidopp: #9044 says cloud provider but can also cover platform stuff.\r\n\r\nAdds a label `beta.kubernetes.io/platform` to `kubelet` that informs about the os/arch it's running on.\r\nMakes it easy to specify `nodeSelectors` for different arches in multi-arch clusters.\r\n\r\n```console\r\n$ kubectl get no --show-labels\r\nNAME        STATUS    AGE       LABELS\r\n127.0.0.1   Ready     1m        beta.kubernetes.io/platform=linux-amd64,kubernetes.io/hostname=127.0.0.1\r\n$ kubectl describe no\r\nName:\t\t\t127.0.0.1\r\nLabels:\t\t\tbeta.kubernetes.io/platform=linux-amd64,kubernetes.io/hostname=127.0.0.1\r\nCreationTimestamp:\tThu, 31 Mar 2016 20:39:15 +0300\r\n```\r\n@davidopp @vishh @fgrzadkowski @thockin @wojtek-t @ixdy @bgrant0607 @dchen1107 @preillyme "},"comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments/211754421","html_url":"https://github.com/kubernetes/kubernetes/pull/23684#issuecomment-211754421","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/23684","id":211754421,"user":{"login":"bgrant0607","id":7725777,"avatar_url":"https://avatars.githubusercontent.com/u/7725777?v=3","gravatar_id":"","url":"https://api.github.com/users/bgrant0607","html_url":"https://github.com/bgrant0607","followers_url":"https://api.github.com/users/bgrant0607/followers","following_url":"https://api.github.com/users/bgrant0607/following{/other_user}","gists_url":"https://api.github.com/users/bgrant0607/gists{/gist_id}","starred_url":"https://api.github.com/users/bgrant0607/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bgrant0607/subscriptions","organizations_url":"https://api.github.com/users/bgrant0607/orgs","repos_url":"https://api.github.com/users/bgrant0607/repos","events_url":"https://api.github.com/users/bgrant0607/events{/privacy}","received_events_url":"https://api.github.com/users/bgrant0607/received_events","type":"User","site_admin":false},"created_at":"2016-04-19T06:25:29Z","updated_at":"2016-04-19T06:25:29Z","body":"I would prefer that we not go wild exposing all these fields as labels."}}