{"action":"created","issue":{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/7351","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/7351/labels{/name}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/7351/comments","events_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/7351/events","html_url":"https://github.com/GoogleCloudPlatform/kubernetes/issues/7351","id":71201365,"number":7351,"title":"Implement \"machine shutdown\"","user":{"login":"piosz","id":10819974,"avatar_url":"https://avatars.githubusercontent.com/u/10819974?v=3","gravatar_id":"","url":"https://api.github.com/users/piosz","html_url":"https://github.com/piosz","followers_url":"https://api.github.com/users/piosz/followers","following_url":"https://api.github.com/users/piosz/following{/other_user}","gists_url":"https://api.github.com/users/piosz/gists{/gist_id}","starred_url":"https://api.github.com/users/piosz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/piosz/subscriptions","organizations_url":"https://api.github.com/users/piosz/orgs","repos_url":"https://api.github.com/users/piosz/repos","events_url":"https://api.github.com/users/piosz/events{/privacy}","received_events_url":"https://api.github.com/users/piosz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/labels/api/cluster","name":"api/cluster","color":"e1ed21"},{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/labels/component/nodecontroller","name":"component/nodecontroller","color":"0052cc"},{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/labels/priority/P2","name":"priority/P2","color":"fbca04"},{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/labels/team/master","name":"team/master","color":"d2b48c"},{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/labels/team/node","name":"team/node","color":"d2b48c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-04-27T07:24:22Z","updated_at":"2015-05-05T13:24:17Z","closed_at":null,"body":"As @davidopp wrote:\r\n(1) Operator does \"kubectl stop node\" or \"kubectl delete node\" I just tested these and neither does anything on GCE; the first one gives an error \"no reaper has been implemented for \"Node\"\" and the second one claims to work (prints node name in response, gives no error) but nothing happens (node is still there, pod is still running, etc.)\r\n\r\n(2) Operator deletes the VM instance. This is surprisingly hard to do on GCE because we use managed instance groups to auto-restart the VM very quickly, and at least via the UI you can't delete the MIG without deleting the VMs, so I'm not sure how to test this (this being delete the VM, wait a while, and see how the pod is treated). But the NodeController code (that I guess is being moved into Kubelet soon) calls into the API server to delete the node\r\nhttps://github.com/GoogleCloudPlatform/kubernetes/blob/65d132a3eecee38fc22e82ff5fd9e100aae342be/pkg/cloudprovider/nodecontroller/nodecontroller.go#L324\r\nwhich I assume is basically the same as (1) hence it doesn't really do anything. Have we tested anything with regard to machine shutdown?\r\n\r\nExtracted from #6804\r\n\r\ncc @davidopp @bgrant0607 "},"comment":{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/comments/99076732","html_url":"https://github.com/GoogleCloudPlatform/kubernetes/issues/7351#issuecomment-99076732","issue_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/7351","id":99076732,"user":{"login":"gosharplite","id":5064483,"avatar_url":"https://avatars.githubusercontent.com/u/5064483?v=3","gravatar_id":"","url":"https://api.github.com/users/gosharplite","html_url":"https://github.com/gosharplite","followers_url":"https://api.github.com/users/gosharplite/followers","following_url":"https://api.github.com/users/gosharplite/following{/other_user}","gists_url":"https://api.github.com/users/gosharplite/gists{/gist_id}","starred_url":"https://api.github.com/users/gosharplite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gosharplite/subscriptions","organizations_url":"https://api.github.com/users/gosharplite/orgs","repos_url":"https://api.github.com/users/gosharplite/repos","events_url":"https://api.github.com/users/gosharplite/events{/privacy}","received_events_url":"https://api.github.com/users/gosharplite/received_events","type":"User","site_admin":false},"created_at":"2015-05-05T13:24:17Z","updated_at":"2015-05-05T13:24:17Z","body":"@piosz @wojtek-t Got it, thanks!"}}