{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubeadm/issues/1194","repository_url":"https://api.github.com/repos/kubernetes/kubeadm","labels_url":"https://api.github.com/repos/kubernetes/kubeadm/issues/1194/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubeadm/issues/1194/comments","events_url":"https://api.github.com/repos/kubernetes/kubeadm/issues/1194/events","html_url":"https://github.com/kubernetes/kubeadm/issues/1194","id":374958778,"node_id":"MDU6SXNzdWUzNzQ5NTg3Nzg=","number":1194,"title":"`kubeadm reset` doesn't disable/remove `kubelet`","user":{"login":"drigz","id":632207,"node_id":"MDQ6VXNlcjYzMjIwNw==","avatar_url":"https://avatars1.githubusercontent.com/u/632207?v=4","gravatar_id":"","url":"https://api.github.com/users/drigz","html_url":"https://github.com/drigz","followers_url":"https://api.github.com/users/drigz/followers","following_url":"https://api.github.com/users/drigz/following{/other_user}","gists_url":"https://api.github.com/users/drigz/gists{/gist_id}","starred_url":"https://api.github.com/users/drigz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drigz/subscriptions","organizations_url":"https://api.github.com/users/drigz/orgs","repos_url":"https://api.github.com/users/drigz/repos","events_url":"https://api.github.com/users/drigz/events{/privacy}","received_events_url":"https://api.github.com/users/drigz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-29T10:53:32Z","updated_at":"2018-10-29T11:06:10Z","closed_at":null,"author_association":"NONE","body":"## BUG REPORT\r\n\r\nOriginally reported at https://github.com/kubernetes/kubernetes/issues/65165 but closed due to inactivity.\r\n\r\n## Versions\r\n\r\n**kubeadm version**: v1.12.2\r\n\r\n**Environment**:\r\n- **Kubernetes version**:  v1.12.2\r\n- **Hardware configuration**:  amd64\r\n- **OS** (e.g. from /etc/os-release): Ubuntu 16.04\r\n\r\n## What happened?\r\n\r\n`kubeadm reset` stops the `kubelet` service, but doesn't disable or remove it. Restarting the system causes systemd to start the old kubelet service, which doesn't work because the static pod manifests have been removed.\r\n\r\n## What you expected to happen?\r\n\r\nFrom the `kubeadm reset` docs:\r\n\r\n> This command reverts any changes made by kubeadm init or kubeadm join.\r\n\r\nSo I would expect that the `kubelet` service is removed automatically, or at least disabled.\r\n\r\n## How to reproduce it (as minimally and precisely as possible)?\r\n\r\n```\r\nkubeadm init\r\nkubeadm reset --force\r\nsystemctl status kubelet\r\n# this says it's enabled\r\n```\r\n\r\n## Anything else we need to know?\r\n\r\nThis may also cause problems with `kubeadm init` after a restart, since the preflight check for port 10250 might fail. I haven't tested this.\r\n"},"comment":{"url":"https://api.github.com/repos/kubernetes/kubeadm/issues/comments/433871054","html_url":"https://github.com/kubernetes/kubeadm/issues/1194#issuecomment-433871054","issue_url":"https://api.github.com/repos/kubernetes/kubeadm/issues/1194","id":433871054,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMzg3MTA1NA==","user":{"login":"drigz","id":632207,"node_id":"MDQ6VXNlcjYzMjIwNw==","avatar_url":"https://avatars1.githubusercontent.com/u/632207?v=4","gravatar_id":"","url":"https://api.github.com/users/drigz","html_url":"https://github.com/drigz","followers_url":"https://api.github.com/users/drigz/followers","following_url":"https://api.github.com/users/drigz/following{/other_user}","gists_url":"https://api.github.com/users/drigz/gists{/gist_id}","starred_url":"https://api.github.com/users/drigz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drigz/subscriptions","organizations_url":"https://api.github.com/users/drigz/orgs","repos_url":"https://api.github.com/users/drigz/repos","events_url":"https://api.github.com/users/drigz/events{/privacy}","received_events_url":"https://api.github.com/users/drigz/received_events","type":"User","site_admin":false},"created_at":"2018-10-29T11:06:10Z","updated_at":"2018-10-29T11:06:10Z","author_association":"NONE","body":"Hmm, on second thoughts I filed this too soon. I believe the `kubelet` service is created (and possibly enabled) by `apt install kubelet`."}}
{"actor":{"display_login":"drigz"}}