{"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":[{"id":414883982,"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/approved","name":"approved","color":"0ffa16","default":false},{"id":176978828,"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/cla:%20yes","name":"cla: yes","color":"bfe5bf","default":false},{"id":477397086,"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/cncf-cla:%20yes","name":"cncf-cla: yes","color":"bfe5bf","default":false},{"id":200149833,"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/release-note","name":"release-note","color":"c2e0c6","default":false},{"id":253450934,"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/size/M","name":"size/M","color":"eebb00","default":false}],"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":51,"created_at":"2016-10-19T12:17:26Z","updated_at":"2017-02-16T09:00:21Z","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`\n\nFor example:\n`kubectl drain K8S_NODENAME --set-message \"disabled due to docker maintenance\"`\nor\n`kubectl cordon K8S_NODENAME --set-message \"disabled due to docker maintenance\"`\n\nThe message is visible as node condition message field\n\n```\n$ kubectl describe node\n...\n...\nConditions:\n  Type          Status  LastHeartbeatTime           LastTransitionTime          Reason              Message\n  ----          ------  -----------------           ------------------          ------              -------\n  Ready         False   Wed, 19 Oct 2016 14:12:58 +0200     Wed, 19 Oct 2016 14:12:58 +0200     SchedulingDisabled      disable due to Docker maintenance \n\n...\n...\n```\n\nThis PR fixes: https://github.com/kubernetes/kubernetes/issues/30586\n\n<!-- Reviewable:start -->\n\n---\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\n<!-- Reviewable:end -->\n"},"comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments/280272625","html_url":"https://github.com/kubernetes/kubernetes/pull/35113#issuecomment-280272625","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/35113","id":280272625,"user":{"login":"k8s-ci-robot","id":20407524,"avatar_url":"https://avatars.githubusercontent.com/u/20407524?v=3","gravatar_id":"","url":"https://api.github.com/users/k8s-ci-robot","html_url":"https://github.com/k8s-ci-robot","followers_url":"https://api.github.com/users/k8s-ci-robot/followers","following_url":"https://api.github.com/users/k8s-ci-robot/following{/other_user}","gists_url":"https://api.github.com/users/k8s-ci-robot/gists{/gist_id}","starred_url":"https://api.github.com/users/k8s-ci-robot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/k8s-ci-robot/subscriptions","organizations_url":"https://api.github.com/users/k8s-ci-robot/orgs","repos_url":"https://api.github.com/users/k8s-ci-robot/repos","events_url":"https://api.github.com/users/k8s-ci-robot/events{/privacy}","received_events_url":"https://api.github.com/users/k8s-ci-robot/received_events","type":"User","site_admin":false},"created_at":"2017-02-16T09:00:21Z","updated_at":"2017-02-16T09:00:21Z","body":"@zreigz: The following test(s) **failed**:\n\nTest name | Commit | Details | Rerun command\n--- | --- | --- | ---\nJenkins CRI GCE e2e | 1430dae061f324cc5364c0acb96acffd9c427bbf | [link](https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/pr-logs/pull/35113/pull-kubernetes-e2e-gce-cri/4728/) | `@k8s-bot cri e2e test this`\nJenkins GCE e2e | 6ecb2a64ff8cecd92b32ab486f2b2c55508a9f99 | [link](https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/pr-logs/pull/35113/pull-kubernetes-e2e-gce/18196/) | `@k8s-bot cvm gce e2e test this`\nJenkins GCE etcd3 e2e | 6ecb2a64ff8cecd92b32ab486f2b2c55508a9f99 | [link](https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/pr-logs/pull/35113/pull-kubernetes-e2e-gce-etcd3/17719/) | `@k8s-bot gce etcd3 e2e test this`\nJenkins GKE smoke e2e | 6ecb2a64ff8cecd92b32ab486f2b2c55508a9f99 | [link](https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/pr-logs/pull/35113/pull-kubernetes-e2e-gke/17952/) | `@k8s-bot cvm gke e2e test this`\nJenkins GCI GKE smoke e2e | 6ecb2a64ff8cecd92b32ab486f2b2c55508a9f99 | [link](https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/pr-logs/pull/35113/pull-kubernetes-e2e-gke-gci/17752/) | `@k8s-bot gci gke e2e test this`\n\n[Full PR test history](https://k8s-gubernator.appspot.com/pr/35113). [Your PR dashboard](https://k8s-gubernator.appspot.com/pr/zreigz). Please help us cut down on flakes by linking to an [open issue](https://github.com/kubernetes/kubernetes/issues?q=is:issue+is:open) when you hit one in your PR.\n\n<details>\n\nInstructions for interacting with me using PR comments are available [here](https://github.com/kubernetes/community/blob/master/contributors/devel/pull-request-commands.md).  If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository. I understand the commands that are listed [here](https://github.com/kubernetes/test-infra/blob/master/prow/commands.md).\n</details>\n<!-- test report -->"}}
{"actor":{"display_login":"k8s-ci-robot"}}