{"action":"created","comment":{"url":"https://api.github.com/repos/coreos/etcd/pulls/comments/36897632","id":36897632,"diff_hunk":"@@ -0,0 +1,189 @@\n+apiVersion: v1\n+kind: Service\n+metadata:\n+  name: etcd-client\n+spec:\n+  ports:\n+  - name: etcd-client-port\n+    port: 2379\n+    protocol: TCP\n+    targetPort: 2379\n+  selector:\n+    app: etcd\n+\n+---\n+\n+apiVersion: v1\n+kind: Pod\n+metadata:\n+  labels:\n+    app: etcd\n+    etcd_node: etcd0\n+  name: etcd0\n+spec:\n+  containers:\n+  - command:\n+    - /etcd\n+    - -name\n+    - etcd0\n+    - -initial-advertise-peer-urls\n+    - http://etcd0:2380\n+    - -listen-peer-urls\n+    - http://0.0.0.0:2380\n+    - -listen-client-urls\n+    - http://0.0.0.0:2379\n+    - -advertise-client-urls\n+    - http://etcd0:2379\n+    - -initial-cluster\n+    - etcd0=http://etcd0:2380,etcd1=http://etcd1:2380,etcd2=http://etcd2:2380\n+    - -initial-cluster-state\n+    - new\n+    image: quay.io/coreos/etcd:v2.1.1","path":"hack/kubernetes-deploy/etcd.yml","position":41,"original_position":41,"commit_id":"754db4252dd6cb1f37052df5e97551ea4a706380","original_commit_id":"754db4252dd6cb1f37052df5e97551ea4a706380","user":{"login":"xiang90","id":4479947,"avatar_url":"https://avatars.githubusercontent.com/u/4479947?v=3","gravatar_id":"","url":"https://api.github.com/users/xiang90","html_url":"https://github.com/xiang90","followers_url":"https://api.github.com/users/xiang90/followers","following_url":"https://api.github.com/users/xiang90/following{/other_user}","gists_url":"https://api.github.com/users/xiang90/gists{/gist_id}","starred_url":"https://api.github.com/users/xiang90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xiang90/subscriptions","organizations_url":"https://api.github.com/users/xiang90/orgs","repos_url":"https://api.github.com/users/xiang90/repos","events_url":"https://api.github.com/users/xiang90/events{/privacy}","received_events_url":"https://api.github.com/users/xiang90/received_events","type":"User","site_admin":false},"body":":latest?","created_at":"2015-08-12T18:41:32Z","updated_at":"2015-08-12T18:41:32Z","html_url":"https://github.com/coreos/etcd/pull/3273#discussion_r36897632","pull_request_url":"https://api.github.com/repos/coreos/etcd/pulls/3273","_links":{"self":{"href":"https://api.github.com/repos/coreos/etcd/pulls/comments/36897632"},"html":{"href":"https://github.com/coreos/etcd/pull/3273#discussion_r36897632"},"pull_request":{"href":"https://api.github.com/repos/coreos/etcd/pulls/3273"}}},"pull_request":{"url":"https://api.github.com/repos/coreos/etcd/pulls/3273","id":42273065,"html_url":"https://github.com/coreos/etcd/pull/3273","diff_url":"https://github.com/coreos/etcd/pull/3273.diff","patch_url":"https://github.com/coreos/etcd/pull/3273.patch","issue_url":"https://api.github.com/repos/coreos/etcd/issues/3273","number":3273,"state":"open","locked":false,"title":"add etcd on k8s example","user":{"login":"polvi","id":46035,"avatar_url":"https://avatars.githubusercontent.com/u/46035?v=3","gravatar_id":"","url":"https://api.github.com/users/polvi","html_url":"https://github.com/polvi","followers_url":"https://api.github.com/users/polvi/followers","following_url":"https://api.github.com/users/polvi/following{/other_user}","gists_url":"https://api.github.com/users/polvi/gists{/gist_id}","starred_url":"https://api.github.com/users/polvi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/polvi/subscriptions","organizations_url":"https://api.github.com/users/polvi/orgs","repos_url":"https://api.github.com/users/polvi/repos","events_url":"https://api.github.com/users/polvi/events{/privacy}","received_events_url":"https://api.github.com/users/polvi/received_events","type":"User","site_admin":false},"body":"adding our etcd example","created_at":"2015-08-12T18:38:19Z","updated_at":"2015-08-12T18:41:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4ea13bfd54f5ef3a4eb81352e734dc5f64d74362","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/coreos/etcd/pulls/3273/commits","review_comments_url":"https://api.github.com/repos/coreos/etcd/pulls/3273/comments","review_comment_url":"https://api.github.com/repos/coreos/etcd/pulls/comments{/number}","comments_url":"https://api.github.com/repos/coreos/etcd/issues/3273/comments","statuses_url":"https://api.github.com/repos/coreos/etcd/statuses/754db4252dd6cb1f37052df5e97551ea4a706380","head":{"label":"polvi:kube-hack","ref":"kube-hack","sha":"754db4252dd6cb1f37052df5e97551ea4a706380","user":{"login":"polvi","id":46035,"avatar_url":"https://avatars.githubusercontent.com/u/46035?v=3","gravatar_id":"","url":"https://api.github.com/users/polvi","html_url":"https://github.com/polvi","followers_url":"https://api.github.com/users/polvi/followers","following_url":"https://api.github.com/users/polvi/following{/other_user}","gists_url":"https://api.github.com/users/polvi/gists{/gist_id}","starred_url":"https://api.github.com/users/polvi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/polvi/subscriptions","organizations_url":"https://api.github.com/users/polvi/orgs","repos_url":"https://api.github.com/users/polvi/repos","events_url":"https://api.github.com/users/polvi/events{/privacy}","received_events_url":"https://api.github.com/users/polvi/received_events","type":"User","site_admin":false},"repo":{"id":40617773,"name":"etcd","full_name":"polvi/etcd","owner":{"login":"polvi","id":46035,"avatar_url":"https://avatars.githubusercontent.com/u/46035?v=3","gravatar_id":"","url":"https://api.github.com/users/polvi","html_url":"https://github.com/polvi","followers_url":"https://api.github.com/users/polvi/followers","following_url":"https://api.github.com/users/polvi/following{/other_user}","gists_url":"https://api.github.com/users/polvi/gists{/gist_id}","starred_url":"https://api.github.com/users/polvi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/polvi/subscriptions","organizations_url":"https://api.github.com/users/polvi/orgs","repos_url":"https://api.github.com/users/polvi/repos","events_url":"https://api.github.com/users/polvi/events{/privacy}","received_events_url":"https://api.github.com/users/polvi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/polvi/etcd","description":"A distributed consistent key-value store for shared configuration and service discovery","fork":true,"url":"https://api.github.com/repos/polvi/etcd","forks_url":"https://api.github.com/repos/polvi/etcd/forks","keys_url":"https://api.github.com/repos/polvi/etcd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/polvi/etcd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/polvi/etcd/teams","hooks_url":"https://api.github.com/repos/polvi/etcd/hooks","issue_events_url":"https://api.github.com/repos/polvi/etcd/issues/events{/number}","events_url":"https://api.github.com/repos/polvi/etcd/events","assignees_url":"https://api.github.com/repos/polvi/etcd/assignees{/user}","branches_url":"https://api.github.com/repos/polvi/etcd/branches{/branch}","tags_url":"https://api.github.com/repos/polvi/etcd/tags","blobs_url":"https://api.github.com/repos/polvi/etcd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/polvi/etcd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/polvi/etcd/git/refs{/sha}","trees_url":"https://api.github.com/repos/polvi/etcd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/polvi/etcd/statuses/{sha}","languages_url":"https://api.github.com/repos/polvi/etcd/languages","stargazers_url":"https://api.github.com/repos/polvi/etcd/stargazers","contributors_url":"https://api.github.com/repos/polvi/etcd/contributors","subscribers_url":"https://api.github.com/repos/polvi/etcd/subscribers","subscription_url":"https://api.github.com/repos/polvi/etcd/subscription","commits_url":"https://api.github.com/repos/polvi/etcd/commits{/sha}","git_commits_url":"https://api.github.com/repos/polvi/etcd/git/commits{/sha}","comments_url":"https://api.github.com/repos/polvi/etcd/comments{/number}","issue_comment_url":"https://api.github.com/repos/polvi/etcd/issues/comments{/number}","contents_url":"https://api.github.com/repos/polvi/etcd/contents/{+path}","compare_url":"https://api.github.com/repos/polvi/etcd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/polvi/etcd/merges","archive_url":"https://api.github.com/repos/polvi/etcd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/polvi/etcd/downloads","issues_url":"https://api.github.com/repos/polvi/etcd/issues{/number}","pulls_url":"https://api.github.com/repos/polvi/etcd/pulls{/number}","milestones_url":"https://api.github.com/repos/polvi/etcd/milestones{/number}","notifications_url":"https://api.github.com/repos/polvi/etcd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/polvi/etcd/labels{/name}","releases_url":"https://api.github.com/repos/polvi/etcd/releases{/id}","created_at":"2015-08-12T18:37:30Z","updated_at":"2015-08-12T18:37:31Z","pushed_at":"2015-08-12T18:38:05Z","git_url":"git://github.com/polvi/etcd.git","ssh_url":"git@github.com:polvi/etcd.git","clone_url":"https://github.com/polvi/etcd.git","svn_url":"https://github.com/polvi/etcd","homepage":"","size":33779,"stargazers_count":0,"watchers_count":0,"language":"Go","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":"master"}},"base":{"label":"coreos:master","ref":"master","sha":"f468d8b51a3d093a20590a39c6fc518e8fba4278","user":{"login":"coreos","id":3730757,"avatar_url":"https://avatars.githubusercontent.com/u/3730757?v=3","gravatar_id":"","url":"https://api.github.com/users/coreos","html_url":"https://github.com/coreos","followers_url":"https://api.github.com/users/coreos/followers","following_url":"https://api.github.com/users/coreos/following{/other_user}","gists_url":"https://api.github.com/users/coreos/gists{/gist_id}","starred_url":"https://api.github.com/users/coreos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coreos/subscriptions","organizations_url":"https://api.github.com/users/coreos/orgs","repos_url":"https://api.github.com/users/coreos/repos","events_url":"https://api.github.com/users/coreos/events{/privacy}","received_events_url":"https://api.github.com/users/coreos/received_events","type":"Organization","site_admin":false},"repo":{"id":11225014,"name":"etcd","full_name":"coreos/etcd","owner":{"login":"coreos","id":3730757,"avatar_url":"https://avatars.githubusercontent.com/u/3730757?v=3","gravatar_id":"","url":"https://api.github.com/users/coreos","html_url":"https://github.com/coreos","followers_url":"https://api.github.com/users/coreos/followers","following_url":"https://api.github.com/users/coreos/following{/other_user}","gists_url":"https://api.github.com/users/coreos/gists{/gist_id}","starred_url":"https://api.github.com/users/coreos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coreos/subscriptions","organizations_url":"https://api.github.com/users/coreos/orgs","repos_url":"https://api.github.com/users/coreos/repos","events_url":"https://api.github.com/users/coreos/events{/privacy}","received_events_url":"https://api.github.com/users/coreos/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/coreos/etcd","description":"A distributed consistent key-value store for shared configuration and service discovery","fork":false,"url":"https://api.github.com/repos/coreos/etcd","forks_url":"https://api.github.com/repos/coreos/etcd/forks","keys_url":"https://api.github.com/repos/coreos/etcd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/coreos/etcd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/coreos/etcd/teams","hooks_url":"https://api.github.com/repos/coreos/etcd/hooks","issue_events_url":"https://api.github.com/repos/coreos/etcd/issues/events{/number}","events_url":"https://api.github.com/repos/coreos/etcd/events","assignees_url":"https://api.github.com/repos/coreos/etcd/assignees{/user}","branches_url":"https://api.github.com/repos/coreos/etcd/branches{/branch}","tags_url":"https://api.github.com/repos/coreos/etcd/tags","blobs_url":"https://api.github.com/repos/coreos/etcd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/coreos/etcd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/coreos/etcd/git/refs{/sha}","trees_url":"https://api.github.com/repos/coreos/etcd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/coreos/etcd/statuses/{sha}","languages_url":"https://api.github.com/repos/coreos/etcd/languages","stargazers_url":"https://api.github.com/repos/coreos/etcd/stargazers","contributors_url":"https://api.github.com/repos/coreos/etcd/contributors","subscribers_url":"https://api.github.com/repos/coreos/etcd/subscribers","subscription_url":"https://api.github.com/repos/coreos/etcd/subscription","commits_url":"https://api.github.com/repos/coreos/etcd/commits{/sha}","git_commits_url":"https://api.github.com/repos/coreos/etcd/git/commits{/sha}","comments_url":"https://api.github.com/repos/coreos/etcd/comments{/number}","issue_comment_url":"https://api.github.com/repos/coreos/etcd/issues/comments{/number}","contents_url":"https://api.github.com/repos/coreos/etcd/contents/{+path}","compare_url":"https://api.github.com/repos/coreos/etcd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/coreos/etcd/merges","archive_url":"https://api.github.com/repos/coreos/etcd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/coreos/etcd/downloads","issues_url":"https://api.github.com/repos/coreos/etcd/issues{/number}","pulls_url":"https://api.github.com/repos/coreos/etcd/pulls{/number}","milestones_url":"https://api.github.com/repos/coreos/etcd/milestones{/number}","notifications_url":"https://api.github.com/repos/coreos/etcd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/coreos/etcd/labels{/name}","releases_url":"https://api.github.com/repos/coreos/etcd/releases{/id}","created_at":"2013-07-06T21:57:21Z","updated_at":"2015-08-12T17:53:33Z","pushed_at":"2015-08-12T18:39:05Z","git_url":"git://github.com/coreos/etcd.git","ssh_url":"git@github.com:coreos/etcd.git","clone_url":"https://github.com/coreos/etcd.git","svn_url":"https://github.com/coreos/etcd","homepage":"","size":33779,"stargazers_count":7177,"watchers_count":7177,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1018,"mirror_url":null,"open_issues_count":125,"forks":1018,"open_issues":125,"watchers":7177,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/coreos/etcd/pulls/3273"},"html":{"href":"https://github.com/coreos/etcd/pull/3273"},"issue":{"href":"https://api.github.com/repos/coreos/etcd/issues/3273"},"comments":{"href":"https://api.github.com/repos/coreos/etcd/issues/3273/comments"},"review_comments":{"href":"https://api.github.com/repos/coreos/etcd/pulls/3273/comments"},"review_comment":{"href":"https://api.github.com/repos/coreos/etcd/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/coreos/etcd/pulls/3273/commits"},"statuses":{"href":"https://api.github.com/repos/coreos/etcd/statuses/754db4252dd6cb1f37052df5e97551ea4a706380"}}}}