{"action":"created","comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/comments/45553317","id":45553317,"diff_hunk":"@@ -0,0 +1,133 @@\n+.TH \"KUBERNETES\" \"1\" \" kubernetes User Manuals\" \"Eric Paris\" \"Jan 2015\"  \"\"\n+\n+\n+.SH NAME\n+.PP\n+kubectl lame \\- Mark node as unschedulable\n+\n+\n+.SH SYNOPSIS\n+.PP\n+\\fBkubectl lame\\fP [OPTIONS]\n+\n+\n+.SH DESCRIPTION\n+.PP\n+Mark nodes as unschedulable.\n+\n+\n+.SH OPTIONS INHERITED FROM PARENT COMMANDS\n+.PP\n+\\fB\\-\\-alsologtostderr\\fP=false\n+    log to standard error as well as files\n+\n+.PP\n+\\fB\\-\\-api\\-version\\fP=\"\"\n+    The API version to use when talking to the server\n+\n+.PP\n+\\fB\\-\\-certificate\\-authority\\fP=\"\"\n+    Path to a cert. file for the certificate authority.\n+\n+.PP\n+\\fB\\-\\-client\\-certificate\\fP=\"\"\n+    Path to a client key file for TLS.\n+\n+.PP\n+\\fB\\-\\-client\\-key\\fP=\"\"\n+    Path to a client key file for TLS.\n+\n+.PP\n+\\fB\\-\\-cluster\\fP=\"\"\n+    The name of the kubeconfig cluster to use\n+\n+.PP\n+\\fB\\-\\-context\\fP=\"\"\n+    The name of the kubeconfig context to use\n+\n+.PP\n+\\fB\\-\\-insecure\\-skip\\-tls\\-verify\\fP=false\n+    If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure.\n+\n+.PP\n+\\fB\\-\\-kubeconfig\\fP=\"\"\n+    Path to the kubeconfig file to use for CLI requests.\n+\n+.PP\n+\\fB\\-\\-log\\-backtrace\\-at\\fP=:0\n+    when logging hits line file:N, emit a stack trace\n+\n+.PP\n+\\fB\\-\\-log\\-dir\\fP=\"\"\n+    If non\\-empty, write log files in this directory\n+\n+.PP\n+\\fB\\-\\-log\\-flush\\-frequency\\fP=5s\n+    Maximum number of seconds between log flushes\n+\n+.PP\n+\\fB\\-\\-logtostderr\\fP=true\n+    log to standard error instead of files\n+\n+.PP\n+\\fB\\-\\-match\\-server\\-version\\fP=false\n+    Require server version to match client version\n+\n+.PP\n+\\fB\\-\\-namespace\\fP=\"\"\n+    If present, the namespace scope for this CLI request.\n+\n+.PP\n+\\fB\\-\\-password\\fP=\"\"\n+    Password for basic authentication to the API server.\n+\n+.PP\n+\\fB\\-s\\fP, \\fB\\-\\-server\\fP=\"\"\n+    The address and port of the Kubernetes API server\n+\n+.PP\n+\\fB\\-\\-stderrthreshold\\fP=2\n+    logs at or above this threshold go to stderr\n+\n+.PP\n+\\fB\\-\\-token\\fP=\"\"\n+    Bearer token for authentication to the API server.\n+\n+.PP\n+\\fB\\-\\-user\\fP=\"\"\n+    The name of the kubeconfig user to use\n+\n+.PP\n+\\fB\\-\\-username\\fP=\"\"\n+    Username for basic authentication to the API server.\n+\n+.PP\n+\\fB\\-\\-v\\fP=0\n+    log level for V logs\n+\n+.PP\n+\\fB\\-\\-vmodule\\fP=\n+    comma\\-separated list of pattern=N settings for file\\-filtered logging\n+\n+\n+.SH EXAMPLE\n+.PP\n+.RS\n+\n+.nf\n+# Mark node \"foo\" as unschedulable.\n+$ kubectl lame foo\n+\n+\n+.fi\n+.RE\n+\n+\n+.SH SEE ALSO\n+.PP\n+\\fBkubectl(1)\\fP,","path":"docs/man/man1/kubectl-lame.1","position":128,"original_position":128,"commit_id":"a71ef4eaf94a03f43e7d49f75331ca1803ac3828","original_commit_id":"a71ef4eaf94a03f43e7d49f75331ca1803ac3828","user":{"login":"davidopp","id":8264113,"avatar_url":"https://avatars.githubusercontent.com/u/8264113?v=3","gravatar_id":"","url":"https://api.github.com/users/davidopp","html_url":"https://github.com/davidopp","followers_url":"https://api.github.com/users/davidopp/followers","following_url":"https://api.github.com/users/davidopp/following{/other_user}","gists_url":"https://api.github.com/users/davidopp/gists{/gist_id}","starred_url":"https://api.github.com/users/davidopp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidopp/subscriptions","organizations_url":"https://api.github.com/users/davidopp/orgs","repos_url":"https://api.github.com/users/davidopp/repos","events_url":"https://api.github.com/users/davidopp/events{/privacy}","received_events_url":"https://api.github.com/users/davidopp/received_events","type":"User","site_admin":false},"body":"add unlame and drain here?","created_at":"2015-11-22T01:28:32Z","updated_at":"2015-11-22T01:28:32Z","html_url":"https://github.com/kubernetes/kubernetes/pull/16698#discussion_r45553317","pull_request_url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/16698","_links":{"self":{"href":"https://api.github.com/repos/kubernetes/kubernetes/pulls/comments/45553317"},"html":{"href":"https://github.com/kubernetes/kubernetes/pull/16698#discussion_r45553317"},"pull_request":{"href":"https://api.github.com/repos/kubernetes/kubernetes/pulls/16698"}}},"pull_request":{"url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/16698","id":49504763,"html_url":"https://github.com/kubernetes/kubernetes/pull/16698","diff_url":"https://github.com/kubernetes/kubernetes/pull/16698.diff","patch_url":"https://github.com/kubernetes/kubernetes/pull/16698.patch","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/16698","number":16698,"state":"open","locked":false,"title":"Initial node drain implementation for #3885.","user":{"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},"body":"It lames (marks unschedulable) the given node, and then deletes every\r\npod on it, optionally using a grace period.  It will not delete\r\nunreplicated pods without the use of --force.\r\n\r\nAlso add undrain, which just marks nodes as schedulable. #3885","created_at":"2015-11-03T00:11:03Z","updated_at":"2015-11-22T01:28:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7ce883b004519b41d6ed747608c1b99dd1d6bea7","assignee":{"login":"davidopp","id":8264113,"avatar_url":"https://avatars.githubusercontent.com/u/8264113?v=3","gravatar_id":"","url":"https://api.github.com/users/davidopp","html_url":"https://github.com/davidopp","followers_url":"https://api.github.com/users/davidopp/followers","following_url":"https://api.github.com/users/davidopp/following{/other_user}","gists_url":"https://api.github.com/users/davidopp/gists{/gist_id}","starred_url":"https://api.github.com/users/davidopp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidopp/subscriptions","organizations_url":"https://api.github.com/users/davidopp/orgs","repos_url":"https://api.github.com/users/davidopp/repos","events_url":"https://api.github.com/users/davidopp/events{/privacy}","received_events_url":"https://api.github.com/users/davidopp/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/16698/commits","review_comments_url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/16698/comments","review_comment_url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/16698/comments","statuses_url":"https://api.github.com/repos/kubernetes/kubernetes/statuses/a71ef4eaf94a03f43e7d49f75331ca1803ac3828","head":{"label":"mml:issue3885","ref":"issue3885","sha":"a71ef4eaf94a03f43e7d49f75331ca1803ac3828","user":{"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},"repo":{"id":45429185,"name":"kubernetes","full_name":"mml/kubernetes","owner":{"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},"private":false,"html_url":"https://github.com/mml/kubernetes","description":"Container Cluster Manager from Google","fork":true,"url":"https://api.github.com/repos/mml/kubernetes","forks_url":"https://api.github.com/repos/mml/kubernetes/forks","keys_url":"https://api.github.com/repos/mml/kubernetes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mml/kubernetes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mml/kubernetes/teams","hooks_url":"https://api.github.com/repos/mml/kubernetes/hooks","issue_events_url":"https://api.github.com/repos/mml/kubernetes/issues/events{/number}","events_url":"https://api.github.com/repos/mml/kubernetes/events","assignees_url":"https://api.github.com/repos/mml/kubernetes/assignees{/user}","branches_url":"https://api.github.com/repos/mml/kubernetes/branches{/branch}","tags_url":"https://api.github.com/repos/mml/kubernetes/tags","blobs_url":"https://api.github.com/repos/mml/kubernetes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mml/kubernetes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mml/kubernetes/git/refs{/sha}","trees_url":"https://api.github.com/repos/mml/kubernetes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mml/kubernetes/statuses/{sha}","languages_url":"https://api.github.com/repos/mml/kubernetes/languages","stargazers_url":"https://api.github.com/repos/mml/kubernetes/stargazers","contributors_url":"https://api.github.com/repos/mml/kubernetes/contributors","subscribers_url":"https://api.github.com/repos/mml/kubernetes/subscribers","subscription_url":"https://api.github.com/repos/mml/kubernetes/subscription","commits_url":"https://api.github.com/repos/mml/kubernetes/commits{/sha}","git_commits_url":"https://api.github.com/repos/mml/kubernetes/git/commits{/sha}","comments_url":"https://api.github.com/repos/mml/kubernetes/comments{/number}","issue_comment_url":"https://api.github.com/repos/mml/kubernetes/issues/comments{/number}","contents_url":"https://api.github.com/repos/mml/kubernetes/contents/{+path}","compare_url":"https://api.github.com/repos/mml/kubernetes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mml/kubernetes/merges","archive_url":"https://api.github.com/repos/mml/kubernetes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mml/kubernetes/downloads","issues_url":"https://api.github.com/repos/mml/kubernetes/issues{/number}","pulls_url":"https://api.github.com/repos/mml/kubernetes/pulls{/number}","milestones_url":"https://api.github.com/repos/mml/kubernetes/milestones{/number}","notifications_url":"https://api.github.com/repos/mml/kubernetes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mml/kubernetes/labels{/name}","releases_url":"https://api.github.com/repos/mml/kubernetes/releases{/id}","created_at":"2015-11-02T23:37:23Z","updated_at":"2015-11-02T23:37:41Z","pushed_at":"2015-11-21T00:55:08Z","git_url":"git://github.com/mml/kubernetes.git","ssh_url":"git@github.com:mml/kubernetes.git","clone_url":"https://github.com/mml/kubernetes.git","svn_url":"https://github.com/mml/kubernetes","homepage":"http://kubernetes.io","size":139517,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"kubernetes:master","ref":"master","sha":"fc8f5672cbc430b72303fe53ffca0d14071d2373","user":{"login":"kubernetes","id":13629408,"avatar_url":"https://avatars.githubusercontent.com/u/13629408?v=3","gravatar_id":"","url":"https://api.github.com/users/kubernetes","html_url":"https://github.com/kubernetes","followers_url":"https://api.github.com/users/kubernetes/followers","following_url":"https://api.github.com/users/kubernetes/following{/other_user}","gists_url":"https://api.github.com/users/kubernetes/gists{/gist_id}","starred_url":"https://api.github.com/users/kubernetes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kubernetes/subscriptions","organizations_url":"https://api.github.com/users/kubernetes/orgs","repos_url":"https://api.github.com/users/kubernetes/repos","events_url":"https://api.github.com/users/kubernetes/events{/privacy}","received_events_url":"https://api.github.com/users/kubernetes/received_events","type":"Organization","site_admin":false},"repo":{"id":20580498,"name":"kubernetes","full_name":"kubernetes/kubernetes","owner":{"login":"kubernetes","id":13629408,"avatar_url":"https://avatars.githubusercontent.com/u/13629408?v=3","gravatar_id":"","url":"https://api.github.com/users/kubernetes","html_url":"https://github.com/kubernetes","followers_url":"https://api.github.com/users/kubernetes/followers","following_url":"https://api.github.com/users/kubernetes/following{/other_user}","gists_url":"https://api.github.com/users/kubernetes/gists{/gist_id}","starred_url":"https://api.github.com/users/kubernetes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kubernetes/subscriptions","organizations_url":"https://api.github.com/users/kubernetes/orgs","repos_url":"https://api.github.com/users/kubernetes/repos","events_url":"https://api.github.com/users/kubernetes/events{/privacy}","received_events_url":"https://api.github.com/users/kubernetes/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/kubernetes/kubernetes","description":"Container Cluster Manager from Google","fork":false,"url":"https://api.github.com/repos/kubernetes/kubernetes","forks_url":"https://api.github.com/repos/kubernetes/kubernetes/forks","keys_url":"https://api.github.com/repos/kubernetes/kubernetes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kubernetes/kubernetes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kubernetes/kubernetes/teams","hooks_url":"https://api.github.com/repos/kubernetes/kubernetes/hooks","issue_events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/events{/number}","events_url":"https://api.github.com/repos/kubernetes/kubernetes/events","assignees_url":"https://api.github.com/repos/kubernetes/kubernetes/assignees{/user}","branches_url":"https://api.github.com/repos/kubernetes/kubernetes/branches{/branch}","tags_url":"https://api.github.com/repos/kubernetes/kubernetes/tags","blobs_url":"https://api.github.com/repos/kubernetes/kubernetes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kubernetes/kubernetes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kubernetes/kubernetes/git/refs{/sha}","trees_url":"https://api.github.com/repos/kubernetes/kubernetes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kubernetes/kubernetes/statuses/{sha}","languages_url":"https://api.github.com/repos/kubernetes/kubernetes/languages","stargazers_url":"https://api.github.com/repos/kubernetes/kubernetes/stargazers","contributors_url":"https://api.github.com/repos/kubernetes/kubernetes/contributors","subscribers_url":"https://api.github.com/repos/kubernetes/kubernetes/subscribers","subscription_url":"https://api.github.com/repos/kubernetes/kubernetes/subscription","commits_url":"https://api.github.com/repos/kubernetes/kubernetes/commits{/sha}","git_commits_url":"https://api.github.com/repos/kubernetes/kubernetes/git/commits{/sha}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/comments{/number}","issue_comment_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments{/number}","contents_url":"https://api.github.com/repos/kubernetes/kubernetes/contents/{+path}","compare_url":"https://api.github.com/repos/kubernetes/kubernetes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kubernetes/kubernetes/merges","archive_url":"https://api.github.com/repos/kubernetes/kubernetes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kubernetes/kubernetes/downloads","issues_url":"https://api.github.com/repos/kubernetes/kubernetes/issues{/number}","pulls_url":"https://api.github.com/repos/kubernetes/kubernetes/pulls{/number}","milestones_url":"https://api.github.com/repos/kubernetes/kubernetes/milestones{/number}","notifications_url":"https://api.github.com/repos/kubernetes/kubernetes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/labels{/name}","releases_url":"https://api.github.com/repos/kubernetes/kubernetes/releases{/id}","created_at":"2014-06-06T22:56:04Z","updated_at":"2015-11-21T23:58:14Z","pushed_at":"2015-11-22T01:12:16Z","git_url":"git://github.com/kubernetes/kubernetes.git","ssh_url":"git@github.com:kubernetes/kubernetes.git","clone_url":"https://github.com/kubernetes/kubernetes.git","svn_url":"https://github.com/kubernetes/kubernetes","homepage":"http://kubernetes.io","size":289504,"stargazers_count":11370,"watchers_count":11370,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":3018,"mirror_url":null,"open_issues_count":2392,"forks":3018,"open_issues":2392,"watchers":11370,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kubernetes/kubernetes/pulls/16698"},"html":{"href":"https://github.com/kubernetes/kubernetes/pull/16698"},"issue":{"href":"https://api.github.com/repos/kubernetes/kubernetes/issues/16698"},"comments":{"href":"https://api.github.com/repos/kubernetes/kubernetes/issues/16698/comments"},"review_comments":{"href":"https://api.github.com/repos/kubernetes/kubernetes/pulls/16698/comments"},"review_comment":{"href":"https://api.github.com/repos/kubernetes/kubernetes/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kubernetes/kubernetes/pulls/16698/commits"},"statuses":{"href":"https://api.github.com/repos/kubernetes/kubernetes/statuses/a71ef4eaf94a03f43e7d49f75331ca1803ac3828"}}}}