{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/17731","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/17731/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/17731/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/17731/events","html_url":"https://github.com/kubernetes/kubernetes/issues/17731","id":118640108,"number":17731,"title":"kubelet attempts to delete/recreate Node API object","user":{"login":"liggitt","id":980082,"avatar_url":"https://avatars.githubusercontent.com/u/980082?v=3","gravatar_id":"","url":"https://api.github.com/users/liggitt","html_url":"https://github.com/liggitt","followers_url":"https://api.github.com/users/liggitt/followers","following_url":"https://api.github.com/users/liggitt/following{/other_user}","gists_url":"https://api.github.com/users/liggitt/gists{/gist_id}","starred_url":"https://api.github.com/users/liggitt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liggitt/subscriptions","organizations_url":"https://api.github.com/users/liggitt/orgs","repos_url":"https://api.github.com/users/liggitt/repos","events_url":"https://api.github.com/users/liggitt/events{/privacy}","received_events_url":"https://api.github.com/users/liggitt/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/area/api","name":"area/api","color":"e1ed21"},{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/team/node","name":"team/node","color":"d2b48c"},{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/team/ux","name":"team/ux","color":"d2b48c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-11-24T15:57:27Z","updated_at":"2015-12-01T20:42:34Z","closed_at":null,"body":"In kubelet.go#registerWithApiserver, if a Node API object already exists with a different ExternalID, the kubelet attempts to delete/recreate the Node API object.\r\n\r\nIf we expect this value to be able to mutate, why not allow mutation in update?\r\n\r\nThe current behavior requires giving nodes the ability to delete Node API objects, which seems bad.\r\n\r\nI would also expect node deletion to potentially evacuate pods on the node, which also seems bad."},"comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments/161089475","html_url":"https://github.com/kubernetes/kubernetes/issues/17731#issuecomment-161089475","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/17731","id":161089475,"user":{"login":"liggitt","id":980082,"avatar_url":"https://avatars.githubusercontent.com/u/980082?v=3","gravatar_id":"","url":"https://api.github.com/users/liggitt","html_url":"https://github.com/liggitt","followers_url":"https://api.github.com/users/liggitt/followers","following_url":"https://api.github.com/users/liggitt/following{/other_user}","gists_url":"https://api.github.com/users/liggitt/gists{/gist_id}","starred_url":"https://api.github.com/users/liggitt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liggitt/subscriptions","organizations_url":"https://api.github.com/users/liggitt/orgs","repos_url":"https://api.github.com/users/liggitt/repos","events_url":"https://api.github.com/users/liggitt/events{/privacy}","received_events_url":"https://api.github.com/users/liggitt/received_events","type":"User","site_admin":false},"created_at":"2015-12-01T20:42:34Z","updated_at":"2015-12-01T20:42:34Z","body":"> Does this happen in practice?\r\n\r\nYes, happened when we started referring to existing nodes by IP for SDN purposes"}}