{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/35113","repository_url":"https://api.github.com/repos/kubernetes/kubernetes","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/35113/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/35113/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/35113/events","html_url":"https://github.com/kubernetes/kubernetes/pull/35113","id":183945481,"number":35113,"title":"Set message for kubectl cordon or drain","user":{"login":"zreigz","id":13030040,"avatar_url":"https://avatars.githubusercontent.com/u/13030040?v=3","gravatar_id":"","url":"https://api.github.com/users/zreigz","html_url":"https://github.com/zreigz","followers_url":"https://api.github.com/users/zreigz/followers","following_url":"https://api.github.com/users/zreigz/following{/other_user}","gists_url":"https://api.github.com/users/zreigz/gists{/gist_id}","starred_url":"https://api.github.com/users/zreigz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zreigz/subscriptions","organizations_url":"https://api.github.com/users/zreigz/orgs","repos_url":"https://api.github.com/users/zreigz/repos","events_url":"https://api.github.com/users/zreigz/events{/privacy}","received_events_url":"https://api.github.com/users/zreigz/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/release-note","name":"release-note","color":"c2e0c6"},{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/size/M","name":"size/M","color":"eebb00"}],"state":"open","locked":false,"assignee":{"login":"mml","id":3115,"avatar_url":"https://avatars.githubusercontent.com/u/3115?v=3","gravatar_id":"","url":"https://api.github.com/users/mml","html_url":"https://github.com/mml","followers_url":"https://api.github.com/users/mml/followers","following_url":"https://api.github.com/users/mml/following{/other_user}","gists_url":"https://api.github.com/users/mml/gists{/gist_id}","starred_url":"https://api.github.com/users/mml/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mml/subscriptions","organizations_url":"https://api.github.com/users/mml/orgs","repos_url":"https://api.github.com/users/mml/repos","events_url":"https://api.github.com/users/mml/events{/privacy}","received_events_url":"https://api.github.com/users/mml/received_events","type":"User","site_admin":false},"assignees":[{"login":"mml","id":3115,"avatar_url":"https://avatars.githubusercontent.com/u/3115?v=3","gravatar_id":"","url":"https://api.github.com/users/mml","html_url":"https://github.com/mml","followers_url":"https://api.github.com/users/mml/followers","following_url":"https://api.github.com/users/mml/following{/other_user}","gists_url":"https://api.github.com/users/mml/gists{/gist_id}","starred_url":"https://api.github.com/users/mml/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mml/subscriptions","organizations_url":"https://api.github.com/users/mml/orgs","repos_url":"https://api.github.com/users/mml/repos","events_url":"https://api.github.com/users/mml/events{/privacy}","received_events_url":"https://api.github.com/users/mml/received_events","type":"User","site_admin":false}],"milestone":null,"comments":16,"created_at":"2016-10-19T12:17:26Z","updated_at":"2016-10-27T10:42:40Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/35113","html_url":"https://github.com/kubernetes/kubernetes/pull/35113","diff_url":"https://github.com/kubernetes/kubernetes/pull/35113.diff","patch_url":"https://github.com/kubernetes/kubernetes/pull/35113.patch"},"body":"Add new flag `--set-message` for `kubectl cordon` or `kubectl drain`\r\n\r\nFor example:\r\n`kubectl drain K8S_NODENAME --set-message \"disabled due to docker maintenance\" `\r\nor\r\n`kubectl cordon K8S_NODENAME --set-message \"disabled due to docker maintenance\" `\r\n\r\nThe message is visible as node condition message field\r\n```\r\n$ kubectl describe node\r\n...\r\n...\r\nConditions:\r\n  Type\t\t\tStatus\tLastHeartbeatTime\t\t\tLastTransitionTime\t\t\tReason\t\t\t\tMessage\r\n  ----\t\t\t------\t-----------------\t\t\t------------------\t\t\t------\t\t\t\t-------\r\n  Ready \t\tFalse \tWed, 19 Oct 2016 14:12:58 +0200 \tWed, 19 Oct 2016 14:12:58 +0200 \tSchedulingDisabled \t\tdisable due to Docker maintenance \r\n\r\n...\r\n...\r\n```\r\n\r\nThis PR fixes: https://github.com/kubernetes/kubernetes/issues/30586\n\n<!-- Reviewable:start -->\n---\nThis change is [<img src=\"https://reviewable.kubernetes.io/review_button.svg\" height=\"34\" align=\"absmiddle\" alt=\"Reviewable\"/>](https://reviewable.kubernetes.io/reviews/kubernetes/kubernetes/35113)\n<!-- Reviewable:end -->\n"},"comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments/256607895","html_url":"https://github.com/kubernetes/kubernetes/pull/35113#issuecomment-256607895","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/35113","id":256607895,"user":{"login":"zreigz","id":13030040,"avatar_url":"https://avatars.githubusercontent.com/u/13030040?v=3","gravatar_id":"","url":"https://api.github.com/users/zreigz","html_url":"https://github.com/zreigz","followers_url":"https://api.github.com/users/zreigz/followers","following_url":"https://api.github.com/users/zreigz/following{/other_user}","gists_url":"https://api.github.com/users/zreigz/gists{/gist_id}","starred_url":"https://api.github.com/users/zreigz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zreigz/subscriptions","organizations_url":"https://api.github.com/users/zreigz/orgs","repos_url":"https://api.github.com/users/zreigz/repos","events_url":"https://api.github.com/users/zreigz/events{/privacy}","received_events_url":"https://api.github.com/users/zreigz/received_events","type":"User","site_admin":false},"created_at":"2016-10-27T10:42:40Z","updated_at":"2016-10-27T10:42:40Z","body":"\n\n\n\nReviewed 7 of 7 files at r3.\nReview status: all files reviewed at latest revision, 3 unresolved discussions, some commit checks failed.\n\n---\n\n\n\n*Comments from [Reviewable](https://reviewable.kubernetes.io:443/reviews/kubernetes/kubernetes/35113)*\n<!-- Sent from Reviewable.io -->\n"}}
{"actor":{"display_login":"zreigz"}}