{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/17916","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/17916/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/17916/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/17916/events","html_url":"https://github.com/kubernetes/kubernetes/pull/17916","id":119378743,"number":17916,"title":"Ubernetes Lite: Volumes can dictate zone scheduling","user":{"login":"justinsb","id":100893,"avatar_url":"https://avatars.githubusercontent.com/u/100893?v=3","gravatar_id":"","url":"https://api.github.com/users/justinsb","html_url":"https://github.com/justinsb","followers_url":"https://api.github.com/users/justinsb/followers","following_url":"https://api.github.com/users/justinsb/following{/other_user}","gists_url":"https://api.github.com/users/justinsb/gists{/gist_id}","starred_url":"https://api.github.com/users/justinsb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justinsb/subscriptions","organizations_url":"https://api.github.com/users/justinsb/orgs","repos_url":"https://api.github.com/users/justinsb/repos","events_url":"https://api.github.com/users/justinsb/events{/privacy}","received_events_url":"https://api.github.com/users/justinsb/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/kind/api-change","name":"kind/api-change","color":"c7def8"},{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/lgtm","name":"lgtm","color":"15dd18"},{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/needs-rebase","name":"needs-rebase","color":"BDBDBD"},{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/size/XL","name":"size/XL","color":"ee5500"}],"state":"open","locked":false,"assignee":{"login":"quinton-hoole","id":10390785,"avatar_url":"https://avatars.githubusercontent.com/u/10390785?v=3","gravatar_id":"","url":"https://api.github.com/users/quinton-hoole","html_url":"https://github.com/quinton-hoole","followers_url":"https://api.github.com/users/quinton-hoole/followers","following_url":"https://api.github.com/users/quinton-hoole/following{/other_user}","gists_url":"https://api.github.com/users/quinton-hoole/gists{/gist_id}","starred_url":"https://api.github.com/users/quinton-hoole/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quinton-hoole/subscriptions","organizations_url":"https://api.github.com/users/quinton-hoole/orgs","repos_url":"https://api.github.com/users/quinton-hoole/repos","events_url":"https://api.github.com/users/quinton-hoole/events{/privacy}","received_events_url":"https://api.github.com/users/quinton-hoole/received_events","type":"User","site_admin":false},"milestone":null,"comments":12,"created_at":"2015-11-29T19:04:53Z","updated_at":"2015-12-12T02:59:42Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/17916","html_url":"https://github.com/kubernetes/kubernetes/pull/17916","diff_url":"https://github.com/kubernetes/kubernetes/pull/17916.diff","patch_url":"https://github.com/kubernetes/kubernetes/pull/17916.patch"},"body":"For AWS EBS, a volume can only be attached to a node in the same AZ.\r\nThe scheduler must therefore detect if a volume is being attached to a\r\npod, and ensure that the pod is scheduled on a node in the same AZ as\r\nthe volume.\r\n\r\nSo that the scheduler need not query the cloud provider every time, and\r\nto support decoupled operation (e.g. bare metal) we tag the volume with\r\nour placement labels.  This is done automatically by means of an\r\nadmission controller on AWS when a PersistentVolume is created backed by\r\nan EBS volume.\r\n\r\nSupport for tagging GCE PVs will follow.\r\n\r\nPods that specify a volume directly (i.e. without using a\r\nPersistentVolumeClaim) will not currently be scheduled correctly (i.e.\r\nthey will be scheduled without zone-awareness)."},"comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments/164104085","html_url":"https://github.com/kubernetes/kubernetes/pull/17916#issuecomment-164104085","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/17916","id":164104085,"user":{"login":"quinton-hoole","id":10390785,"avatar_url":"https://avatars.githubusercontent.com/u/10390785?v=3","gravatar_id":"","url":"https://api.github.com/users/quinton-hoole","html_url":"https://github.com/quinton-hoole","followers_url":"https://api.github.com/users/quinton-hoole/followers","following_url":"https://api.github.com/users/quinton-hoole/following{/other_user}","gists_url":"https://api.github.com/users/quinton-hoole/gists{/gist_id}","starred_url":"https://api.github.com/users/quinton-hoole/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quinton-hoole/subscriptions","organizations_url":"https://api.github.com/users/quinton-hoole/orgs","repos_url":"https://api.github.com/users/quinton-hoole/repos","events_url":"https://api.github.com/users/quinton-hoole/events{/privacy}","received_events_url":"https://api.github.com/users/quinton-hoole/received_events","type":"User","site_admin":false},"created_at":"2015-12-12T02:59:42Z","updated_at":"2015-12-12T02:59:42Z","body":"@justinsb Apologies for the delay, this needs a rebase now."}}