{"action":"created","comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes.github.io/pulls/comments/61715997","id":61715997,"diff_hunk":"@@ -17,55 +24,138 @@ At least [Docker](https://docs.docker.com/installation/#installation)\n ps`).  Some of the Kubernetes components need to run as root, which normally\n works fine with docker.\n \n-#### etcd\n-\n-You need an [etcd](https://github.com/coreos/etcd/releases) in your path, please make sure it is installed and in your ``$PATH``.\n-\n-#### go\n-\n-You need [go](https://golang.org/doc/install) at least 1.3+ in your path, please make sure it is installed and in your ``$PATH``.\n-\n ### Starting the cluster\n \n-First, you need to [download Kubernetes](/docs/getting-started-guides/binary_release/). Then open a separate tab of your terminal \n-and run the following (since one needs sudo access to start/stop Kubernetes daemons, it is easier to run the entire script as root):\n+Open your terminal and run the following commands:\n \n ```shell\n-cd kubernetes\n-hack/local-up-cluster.sh\n+# Request root access when the prompt is visible and between log lines\n+sudo echo \"Granting temporary root access\"\n+\n+# Configure versions for the dependencies\n+export FLANNEL_VERSION=\"0.5.5\"\n+export ETCD_VERSION=2.3.3\n+export KUBE_VERSION=\"1.2.3\"\n+export KUBERNETES_PROVIDER=local\n+export NUM_NODES=1\n+\n+# You need to replace this with what your IP address is\n+export KUBE_API_ADDR=192.168.1.111\n+\n+# If you haven't downloaded Kubernetes yet, you can do so now\n+cd ~\n+\n+echo \"Fetching Kubernetes\"\n+#curl -L https://github.com/kubernetes/kubernetes/releases/download/v${KUBE_VERSION}/kubernetes.tar.gz \\\n+#    -o ~/kubernetes.tar.gz\n+cp ~/Downloads/kubernetes.tar.gz ~/kubernetes.tar.gz\n+tar -zxvf kubernetes.tar.gz\n+rm kubernetes.tar.gz\n+\n+# Extract the version compatible with the current OS\n+cd kubernetes/server\n+tar -zxvf kubernetes-server-linux-amd64.tar.gz\n+\n+# Use the binaries we need","path":"docs/getting-started-guides/locally.md","position":null,"original_position":62,"commit_id":"0bdded8a776a853283f39ef917d4ef1e7366b1cf","original_commit_id":"e1e23a6c3501d8904d4c1d88c4eaa245b23b89bc","user":{"login":"dlsniper","id":607868,"avatar_url":"https://avatars.githubusercontent.com/u/607868?v=3","gravatar_id":"","url":"https://api.github.com/users/dlsniper","html_url":"https://github.com/dlsniper","followers_url":"https://api.github.com/users/dlsniper/followers","following_url":"https://api.github.com/users/dlsniper/following{/other_user}","gists_url":"https://api.github.com/users/dlsniper/gists{/gist_id}","starred_url":"https://api.github.com/users/dlsniper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dlsniper/subscriptions","organizations_url":"https://api.github.com/users/dlsniper/orgs","repos_url":"https://api.github.com/users/dlsniper/repos","events_url":"https://api.github.com/users/dlsniper/events{/privacy}","received_events_url":"https://api.github.com/users/dlsniper/received_events","type":"User","site_admin":false},"body":"I've done the later option with allowing the user to define this.","created_at":"2016-05-02T08:43:19Z","updated_at":"2016-05-02T08:43:19Z","html_url":"https://github.com/kubernetes/kubernetes.github.io/pull/454#discussion_r61715997","pull_request_url":"https://api.github.com/repos/kubernetes/kubernetes.github.io/pulls/454","_links":{"self":{"href":"https://api.github.com/repos/kubernetes/kubernetes.github.io/pulls/comments/61715997"},"html":{"href":"https://github.com/kubernetes/kubernetes.github.io/pull/454#discussion_r61715997"},"pull_request":{"href":"https://api.github.com/repos/kubernetes/kubernetes.github.io/pulls/454"}}},"pull_request":{"url":"https://api.github.com/repos/kubernetes/kubernetes.github.io/pulls/454","id":68510810,"html_url":"https://github.com/kubernetes/kubernetes.github.io/pull/454","diff_url":"https://github.com/kubernetes/kubernetes.github.io/pull/454.diff","patch_url":"https://github.com/kubernetes/kubernetes.github.io/pull/454.patch","issue_url":"https://api.github.com/repos/kubernetes/kubernetes.github.io/issues/454","number":454,"state":"open","locked":false,"title":"Update local instructions","user":{"login":"dlsniper","id":607868,"avatar_url":"https://avatars.githubusercontent.com/u/607868?v=3","gravatar_id":"","url":"https://api.github.com/users/dlsniper","html_url":"https://github.com/dlsniper","followers_url":"https://api.github.com/users/dlsniper/followers","following_url":"https://api.github.com/users/dlsniper/following{/other_user}","gists_url":"https://api.github.com/users/dlsniper/gists{/gist_id}","starred_url":"https://api.github.com/users/dlsniper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dlsniper/subscriptions","organizations_url":"https://api.github.com/users/dlsniper/orgs","repos_url":"https://api.github.com/users/dlsniper/repos","events_url":"https://api.github.com/users/dlsniper/events{/privacy}","received_events_url":"https://api.github.com/users/dlsniper/received_events","type":"User","site_admin":false},"body":"This attempts to improve the instructions to launch Kubernetes on a local machine.\r\n\r\nI'm sure this can be improved and hopefully not expose the installation to a public IP of the machine but at the moment I don't know how to do that so help would be appreciated.\r\n\r\nIf I've missed something from the bootstrapping process, please let me know, things appear to work on my machine so far.\r\n\r\nThis has the advantage it can easily be copy-pasted into a bash script and have it up and running for the user quite easily.","created_at":"2016-05-01T23:07:52Z","updated_at":"2016-05-02T08:43:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"269f8555bdb2d512248a7a441525ba83fa709345","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/kubernetes/kubernetes.github.io/pulls/454/commits","review_comments_url":"https://api.github.com/repos/kubernetes/kubernetes.github.io/pulls/454/comments","review_comment_url":"https://api.github.com/repos/kubernetes/kubernetes.github.io/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes.github.io/issues/454/comments","statuses_url":"https://api.github.com/repos/kubernetes/kubernetes.github.io/statuses/0bdded8a776a853283f39ef917d4ef1e7366b1cf","head":{"label":"dlsniper:update-local-instructions","ref":"update-local-instructions","sha":"0bdded8a776a853283f39ef917d4ef1e7366b1cf","user":{"login":"dlsniper","id":607868,"avatar_url":"https://avatars.githubusercontent.com/u/607868?v=3","gravatar_id":"","url":"https://api.github.com/users/dlsniper","html_url":"https://github.com/dlsniper","followers_url":"https://api.github.com/users/dlsniper/followers","following_url":"https://api.github.com/users/dlsniper/following{/other_user}","gists_url":"https://api.github.com/users/dlsniper/gists{/gist_id}","starred_url":"https://api.github.com/users/dlsniper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dlsniper/subscriptions","organizations_url":"https://api.github.com/users/dlsniper/orgs","repos_url":"https://api.github.com/users/dlsniper/repos","events_url":"https://api.github.com/users/dlsniper/events{/privacy}","received_events_url":"https://api.github.com/users/dlsniper/received_events","type":"User","site_admin":false},"repo":{"id":57676661,"name":"dlsniper.github.io","full_name":"dlsniper/dlsniper.github.io","owner":{"login":"dlsniper","id":607868,"avatar_url":"https://avatars.githubusercontent.com/u/607868?v=3","gravatar_id":"","url":"https://api.github.com/users/dlsniper","html_url":"https://github.com/dlsniper","followers_url":"https://api.github.com/users/dlsniper/followers","following_url":"https://api.github.com/users/dlsniper/following{/other_user}","gists_url":"https://api.github.com/users/dlsniper/gists{/gist_id}","starred_url":"https://api.github.com/users/dlsniper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dlsniper/subscriptions","organizations_url":"https://api.github.com/users/dlsniper/orgs","repos_url":"https://api.github.com/users/dlsniper/repos","events_url":"https://api.github.com/users/dlsniper/events{/privacy}","received_events_url":"https://api.github.com/users/dlsniper/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dlsniper/dlsniper.github.io","description":"Website/documentation repo","fork":true,"url":"https://api.github.com/repos/dlsniper/dlsniper.github.io","forks_url":"https://api.github.com/repos/dlsniper/dlsniper.github.io/forks","keys_url":"https://api.github.com/repos/dlsniper/dlsniper.github.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dlsniper/dlsniper.github.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dlsniper/dlsniper.github.io/teams","hooks_url":"https://api.github.com/repos/dlsniper/dlsniper.github.io/hooks","issue_events_url":"https://api.github.com/repos/dlsniper/dlsniper.github.io/issues/events{/number}","events_url":"https://api.github.com/repos/dlsniper/dlsniper.github.io/events","assignees_url":"https://api.github.com/repos/dlsniper/dlsniper.github.io/assignees{/user}","branches_url":"https://api.github.com/repos/dlsniper/dlsniper.github.io/branches{/branch}","tags_url":"https://api.github.com/repos/dlsniper/dlsniper.github.io/tags","blobs_url":"https://api.github.com/repos/dlsniper/dlsniper.github.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dlsniper/dlsniper.github.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dlsniper/dlsniper.github.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/dlsniper/dlsniper.github.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dlsniper/dlsniper.github.io/statuses/{sha}","languages_url":"https://api.github.com/repos/dlsniper/dlsniper.github.io/languages","stargazers_url":"https://api.github.com/repos/dlsniper/dlsniper.github.io/stargazers","contributors_url":"https://api.github.com/repos/dlsniper/dlsniper.github.io/contributors","subscribers_url":"https://api.github.com/repos/dlsniper/dlsniper.github.io/subscribers","subscription_url":"https://api.github.com/repos/dlsniper/dlsniper.github.io/subscription","commits_url":"https://api.github.com/repos/dlsniper/dlsniper.github.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/dlsniper/dlsniper.github.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/dlsniper/dlsniper.github.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/dlsniper/dlsniper.github.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/dlsniper/dlsniper.github.io/contents/{+path}","compare_url":"https://api.github.com/repos/dlsniper/dlsniper.github.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dlsniper/dlsniper.github.io/merges","archive_url":"https://api.github.com/repos/dlsniper/dlsniper.github.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dlsniper/dlsniper.github.io/downloads","issues_url":"https://api.github.com/repos/dlsniper/dlsniper.github.io/issues{/number}","pulls_url":"https://api.github.com/repos/dlsniper/dlsniper.github.io/pulls{/number}","milestones_url":"https://api.github.com/repos/dlsniper/dlsniper.github.io/milestones{/number}","notifications_url":"https://api.github.com/repos/dlsniper/dlsniper.github.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dlsniper/dlsniper.github.io/labels{/name}","releases_url":"https://api.github.com/repos/dlsniper/dlsniper.github.io/releases{/id}","deployments_url":"https://api.github.com/repos/dlsniper/dlsniper.github.io/deployments","created_at":"2016-05-01T17:07:28Z","updated_at":"2016-05-01T17:40:51Z","pushed_at":"2016-05-02T08:42:40Z","git_url":"git://github.com/dlsniper/dlsniper.github.io.git","ssh_url":"git@github.com:dlsniper/dlsniper.github.io.git","clone_url":"https://github.com/dlsniper/dlsniper.github.io.git","svn_url":"https://github.com/dlsniper/dlsniper.github.io","homepage":null,"size":33189,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"no-name"}},"base":{"label":"kubernetes:master","ref":"master","sha":"ac078f015f3584b6b9a29f0fb33c301d7a13fc0e","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":51478266,"name":"kubernetes.github.io","full_name":"kubernetes/kubernetes.github.io","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.github.io","description":"Website/documentation repo","fork":false,"url":"https://api.github.com/repos/kubernetes/kubernetes.github.io","forks_url":"https://api.github.com/repos/kubernetes/kubernetes.github.io/forks","keys_url":"https://api.github.com/repos/kubernetes/kubernetes.github.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kubernetes/kubernetes.github.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kubernetes/kubernetes.github.io/teams","hooks_url":"https://api.github.com/repos/kubernetes/kubernetes.github.io/hooks","issue_events_url":"https://api.github.com/repos/kubernetes/kubernetes.github.io/issues/events{/number}","events_url":"https://api.github.com/repos/kubernetes/kubernetes.github.io/events","assignees_url":"https://api.github.com/repos/kubernetes/kubernetes.github.io/assignees{/user}","branches_url":"https://api.github.com/repos/kubernetes/kubernetes.github.io/branches{/branch}","tags_url":"https://api.github.com/repos/kubernetes/kubernetes.github.io/tags","blobs_url":"https://api.github.com/repos/kubernetes/kubernetes.github.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kubernetes/kubernetes.github.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kubernetes/kubernetes.github.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/kubernetes/kubernetes.github.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kubernetes/kubernetes.github.io/statuses/{sha}","languages_url":"https://api.github.com/repos/kubernetes/kubernetes.github.io/languages","stargazers_url":"https://api.github.com/repos/kubernetes/kubernetes.github.io/stargazers","contributors_url":"https://api.github.com/repos/kubernetes/kubernetes.github.io/contributors","subscribers_url":"https://api.github.com/repos/kubernetes/kubernetes.github.io/subscribers","subscription_url":"https://api.github.com/repos/kubernetes/kubernetes.github.io/subscription","commits_url":"https://api.github.com/repos/kubernetes/kubernetes.github.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/kubernetes/kubernetes.github.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes.github.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/kubernetes/kubernetes.github.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/kubernetes/kubernetes.github.io/contents/{+path}","compare_url":"https://api.github.com/repos/kubernetes/kubernetes.github.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kubernetes/kubernetes.github.io/merges","archive_url":"https://api.github.com/repos/kubernetes/kubernetes.github.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kubernetes/kubernetes.github.io/downloads","issues_url":"https://api.github.com/repos/kubernetes/kubernetes.github.io/issues{/number}","pulls_url":"https://api.github.com/repos/kubernetes/kubernetes.github.io/pulls{/number}","milestones_url":"https://api.github.com/repos/kubernetes/kubernetes.github.io/milestones{/number}","notifications_url":"https://api.github.com/repos/kubernetes/kubernetes.github.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kubernetes/kubernetes.github.io/labels{/name}","releases_url":"https://api.github.com/repos/kubernetes/kubernetes.github.io/releases{/id}","deployments_url":"https://api.github.com/repos/kubernetes/kubernetes.github.io/deployments","created_at":"2016-02-10T22:46:48Z","updated_at":"2016-04-29T11:59:34Z","pushed_at":"2016-05-02T08:42:41Z","git_url":"git://github.com/kubernetes/kubernetes.github.io.git","ssh_url":"git@github.com:kubernetes/kubernetes.github.io.git","clone_url":"https://github.com/kubernetes/kubernetes.github.io.git","svn_url":"https://github.com/kubernetes/kubernetes.github.io","homepage":null,"size":33393,"stargazers_count":45,"watchers_count":45,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":184,"mirror_url":null,"open_issues_count":155,"forks":184,"open_issues":155,"watchers":45,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kubernetes/kubernetes.github.io/pulls/454"},"html":{"href":"https://github.com/kubernetes/kubernetes.github.io/pull/454"},"issue":{"href":"https://api.github.com/repos/kubernetes/kubernetes.github.io/issues/454"},"comments":{"href":"https://api.github.com/repos/kubernetes/kubernetes.github.io/issues/454/comments"},"review_comments":{"href":"https://api.github.com/repos/kubernetes/kubernetes.github.io/pulls/454/comments"},"review_comment":{"href":"https://api.github.com/repos/kubernetes/kubernetes.github.io/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kubernetes/kubernetes.github.io/pulls/454/commits"},"statuses":{"href":"https://api.github.com/repos/kubernetes/kubernetes.github.io/statuses/0bdded8a776a853283f39ef917d4ef1e7366b1cf"}}}}