{"action":"opened","number":13381,"pull_request":{"url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/13381","id":43754628,"html_url":"https://github.com/kubernetes/kubernetes/pull/13381","diff_url":"https://github.com/kubernetes/kubernetes/pull/13381.diff","patch_url":"https://github.com/kubernetes/kubernetes/pull/13381.patch","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/13381","number":13381,"state":"open","locked":false,"title":"Add ubuntu kube-push for upgrading of k8s cluster","user":{"login":"huangyuqi","id":13324377,"avatar_url":"https://avatars.githubusercontent.com/u/13324377?v=3","gravatar_id":"","url":"https://api.github.com/users/huangyuqi","html_url":"https://github.com/huangyuqi","followers_url":"https://api.github.com/users/huangyuqi/followers","following_url":"https://api.github.com/users/huangyuqi/following{/other_user}","gists_url":"https://api.github.com/users/huangyuqi/gists{/gist_id}","starred_url":"https://api.github.com/users/huangyuqi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/huangyuqi/subscriptions","organizations_url":"https://api.github.com/users/huangyuqi/orgs","repos_url":"https://api.github.com/users/huangyuqi/repos","events_url":"https://api.github.com/users/huangyuqi/events{/privacy}","received_events_url":"https://api.github.com/users/huangyuqi/received_events","type":"User","site_admin":false},"body":"Add upgrading for ubuntu kubernetes .If you want to upgrade a k8s cluster, you just need to run `$ ./kubernetes/cluster/kube-push.sh`.The scrpit will download the latest version of k8s,and replace all the kubernetes's binaries of cluster's nodes. The format of upgrade command is like this: ```./kube-push.sh [-m|-n <node id>] <version>``` Updates Kubernetes binaries. Can be done for all components (by default), master(-m) or specified node(-n). If the version is not specified will try to use local binaries. Warning: upgrading single node is experimental. Some examples are as followes:\r\n    upgrade master:    `./kube-push.sh -m 1.0.4`\r\n    upgrade node:      `./kube-push.sh -n 192.0.0.2 1.0.4` (the id is the node's name)\r\n    upgrade all nodes: `./kube-push.sh 1.0.4`\r\n    The script will not delete your data of cluster, it just replace the binaries.","created_at":"2015-08-31T11:23:34Z","updated_at":"2015-08-31T11:23:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/13381/commits","review_comments_url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/13381/comments","review_comment_url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/13381/comments","statuses_url":"https://api.github.com/repos/kubernetes/kubernetes/statuses/85729403fd21c068361da6ff43d72c7847987692","head":{"label":"Huawei-PaaS:upgrade_k8s_cluster_for_ubuntu","ref":"upgrade_k8s_cluster_for_ubuntu","sha":"85729403fd21c068361da6ff43d72c7847987692","user":{"login":"Huawei-PaaS","id":6876878,"avatar_url":"https://avatars.githubusercontent.com/u/6876878?v=3","gravatar_id":"","url":"https://api.github.com/users/Huawei-PaaS","html_url":"https://github.com/Huawei-PaaS","followers_url":"https://api.github.com/users/Huawei-PaaS/followers","following_url":"https://api.github.com/users/Huawei-PaaS/following{/other_user}","gists_url":"https://api.github.com/users/Huawei-PaaS/gists{/gist_id}","starred_url":"https://api.github.com/users/Huawei-PaaS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Huawei-PaaS/subscriptions","organizations_url":"https://api.github.com/users/Huawei-PaaS/orgs","repos_url":"https://api.github.com/users/Huawei-PaaS/repos","events_url":"https://api.github.com/users/Huawei-PaaS/events{/privacy}","received_events_url":"https://api.github.com/users/Huawei-PaaS/received_events","type":"Organization","site_admin":false},"repo":{"id":40632995,"name":"kubernetes","full_name":"Huawei-PaaS/kubernetes","owner":{"login":"Huawei-PaaS","id":6876878,"avatar_url":"https://avatars.githubusercontent.com/u/6876878?v=3","gravatar_id":"","url":"https://api.github.com/users/Huawei-PaaS","html_url":"https://github.com/Huawei-PaaS","followers_url":"https://api.github.com/users/Huawei-PaaS/followers","following_url":"https://api.github.com/users/Huawei-PaaS/following{/other_user}","gists_url":"https://api.github.com/users/Huawei-PaaS/gists{/gist_id}","starred_url":"https://api.github.com/users/Huawei-PaaS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Huawei-PaaS/subscriptions","organizations_url":"https://api.github.com/users/Huawei-PaaS/orgs","repos_url":"https://api.github.com/users/Huawei-PaaS/repos","events_url":"https://api.github.com/users/Huawei-PaaS/events{/privacy}","received_events_url":"https://api.github.com/users/Huawei-PaaS/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Huawei-PaaS/kubernetes","description":"Container Cluster Manager from Google","fork":true,"url":"https://api.github.com/repos/Huawei-PaaS/kubernetes","forks_url":"https://api.github.com/repos/Huawei-PaaS/kubernetes/forks","keys_url":"https://api.github.com/repos/Huawei-PaaS/kubernetes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Huawei-PaaS/kubernetes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Huawei-PaaS/kubernetes/teams","hooks_url":"https://api.github.com/repos/Huawei-PaaS/kubernetes/hooks","issue_events_url":"https://api.github.com/repos/Huawei-PaaS/kubernetes/issues/events{/number}","events_url":"https://api.github.com/repos/Huawei-PaaS/kubernetes/events","assignees_url":"https://api.github.com/repos/Huawei-PaaS/kubernetes/assignees{/user}","branches_url":"https://api.github.com/repos/Huawei-PaaS/kubernetes/branches{/branch}","tags_url":"https://api.github.com/repos/Huawei-PaaS/kubernetes/tags","blobs_url":"https://api.github.com/repos/Huawei-PaaS/kubernetes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Huawei-PaaS/kubernetes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Huawei-PaaS/kubernetes/git/refs{/sha}","trees_url":"https://api.github.com/repos/Huawei-PaaS/kubernetes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Huawei-PaaS/kubernetes/statuses/{sha}","languages_url":"https://api.github.com/repos/Huawei-PaaS/kubernetes/languages","stargazers_url":"https://api.github.com/repos/Huawei-PaaS/kubernetes/stargazers","contributors_url":"https://api.github.com/repos/Huawei-PaaS/kubernetes/contributors","subscribers_url":"https://api.github.com/repos/Huawei-PaaS/kubernetes/subscribers","subscription_url":"https://api.github.com/repos/Huawei-PaaS/kubernetes/subscription","commits_url":"https://api.github.com/repos/Huawei-PaaS/kubernetes/commits{/sha}","git_commits_url":"https://api.github.com/repos/Huawei-PaaS/kubernetes/git/commits{/sha}","comments_url":"https://api.github.com/repos/Huawei-PaaS/kubernetes/comments{/number}","issue_comment_url":"https://api.github.com/repos/Huawei-PaaS/kubernetes/issues/comments{/number}","contents_url":"https://api.github.com/repos/Huawei-PaaS/kubernetes/contents/{+path}","compare_url":"https://api.github.com/repos/Huawei-PaaS/kubernetes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Huawei-PaaS/kubernetes/merges","archive_url":"https://api.github.com/repos/Huawei-PaaS/kubernetes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Huawei-PaaS/kubernetes/downloads","issues_url":"https://api.github.com/repos/Huawei-PaaS/kubernetes/issues{/number}","pulls_url":"https://api.github.com/repos/Huawei-PaaS/kubernetes/pulls{/number}","milestones_url":"https://api.github.com/repos/Huawei-PaaS/kubernetes/milestones{/number}","notifications_url":"https://api.github.com/repos/Huawei-PaaS/kubernetes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Huawei-PaaS/kubernetes/labels{/name}","releases_url":"https://api.github.com/repos/Huawei-PaaS/kubernetes/releases{/id}","created_at":"2015-08-13T01:37:46Z","updated_at":"2015-08-31T08:52:20Z","pushed_at":"2015-08-31T11:22:38Z","git_url":"git://github.com/Huawei-PaaS/kubernetes.git","ssh_url":"git@github.com:Huawei-PaaS/kubernetes.git","clone_url":"https://github.com/Huawei-PaaS/kubernetes.git","svn_url":"https://github.com/Huawei-PaaS/kubernetes","homepage":"http://kubernetes.io","size":104864,"stargazers_count":1,"watchers_count":1,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"kubernetes:master","ref":"master","sha":"cb2252b57f46f307d6d59a2913903933746d958f","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-08-31T10:22:26Z","pushed_at":"2015-08-31T11:19:57Z","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":370802,"stargazers_count":9966,"watchers_count":9966,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2431,"mirror_url":null,"open_issues_count":1673,"forks":2431,"open_issues":1673,"watchers":9966,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kubernetes/kubernetes/pulls/13381"},"html":{"href":"https://github.com/kubernetes/kubernetes/pull/13381"},"issue":{"href":"https://api.github.com/repos/kubernetes/kubernetes/issues/13381"},"comments":{"href":"https://api.github.com/repos/kubernetes/kubernetes/issues/13381/comments"},"review_comments":{"href":"https://api.github.com/repos/kubernetes/kubernetes/pulls/13381/comments"},"review_comment":{"href":"https://api.github.com/repos/kubernetes/kubernetes/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kubernetes/kubernetes/pulls/13381/commits"},"statuses":{"href":"https://api.github.com/repos/kubernetes/kubernetes/statuses/85729403fd21c068361da6ff43d72c7847987692"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":83,"deletions":1,"changed_files":1}}