{"action":"created","comment":{"url":"https://api.github.com/repos/grpc/grpc/pulls/comments/45015797","id":45015797,"diff_hunk":"@@ -0,0 +1,216 @@\n+#!/usr/bin/env python2.7","path":"tools/gke/kubernetes_api.py","position":1,"original_position":1,"commit_id":"7b73966ee7a097f8db40b1d56429077e654fe000","original_commit_id":"7b73966ee7a097f8db40b1d56429077e654fe000","user":{"login":"sreecha","id":2754995,"avatar_url":"https://avatars.githubusercontent.com/u/2754995?v=3","gravatar_id":"","url":"https://api.github.com/users/sreecha","html_url":"https://github.com/sreecha","followers_url":"https://api.github.com/users/sreecha/followers","following_url":"https://api.github.com/users/sreecha/following{/other_user}","gists_url":"https://api.github.com/users/sreecha/gists{/gist_id}","starred_url":"https://api.github.com/users/sreecha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sreecha/subscriptions","organizations_url":"https://api.github.com/users/sreecha/orgs","repos_url":"https://api.github.com/users/sreecha/repos","events_url":"https://api.github.com/users/sreecha/events{/privacy}","received_events_url":"https://api.github.com/users/sreecha/received_events","type":"User","site_admin":false},"body":"I did not know about this until you mentioned!. I looked at it and noticed that it does not expose all functionality I need (for example, a service cannot accept multiple container port list: https://github.com/pjs7678/python-kubernetes/blob/master/kubernetes/service.py). Also, the package isn't actively being maintained (the last update was 9 months ago). \r\n\r\nBetter to write our own stuff for now - it is simple enough.","created_at":"2015-11-17T02:32:55Z","updated_at":"2015-11-17T02:32:55Z","html_url":"https://github.com/grpc/grpc/pull/4057#discussion_r45015797","pull_request_url":"https://api.github.com/repos/grpc/grpc/pulls/4057","_links":{"self":{"href":"https://api.github.com/repos/grpc/grpc/pulls/comments/45015797"},"html":{"href":"https://github.com/grpc/grpc/pull/4057#discussion_r45015797"},"pull_request":{"href":"https://api.github.com/repos/grpc/grpc/pulls/4057"}}},"pull_request":{"url":"https://api.github.com/repos/grpc/grpc/pulls/4057","id":49861595,"html_url":"https://github.com/grpc/grpc/pull/4057","diff_url":"https://github.com/grpc/grpc/pull/4057.diff","patch_url":"https://github.com/grpc/grpc/pull/4057.patch","issue_url":"https://api.github.com/repos/grpc/grpc/issues/4057","number":4057,"state":"open","locked":false,"title":"Helper functions for creating/destroying Pods and Services in GKE","user":{"login":"sreecha","id":2754995,"avatar_url":"https://avatars.githubusercontent.com/u/2754995?v=3","gravatar_id":"","url":"https://api.github.com/users/sreecha","html_url":"https://github.com/sreecha","followers_url":"https://api.github.com/users/sreecha/followers","following_url":"https://api.github.com/users/sreecha/following{/other_user}","gists_url":"https://api.github.com/users/sreecha/gists{/gist_id}","starred_url":"https://api.github.com/users/sreecha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sreecha/subscriptions","organizations_url":"https://api.github.com/users/sreecha/orgs","repos_url":"https://api.github.com/users/sreecha/repos","events_url":"https://api.github.com/users/sreecha/events{/privacy}","received_events_url":"https://api.github.com/users/sreecha/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-11-05T18:29:34Z","updated_at":"2015-11-17T02:32:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5626dd333a574f0f034be4ec6406cc3fe98c24ca","assignee":{"login":"jtattermusch","id":9939684,"avatar_url":"https://avatars.githubusercontent.com/u/9939684?v=3","gravatar_id":"","url":"https://api.github.com/users/jtattermusch","html_url":"https://github.com/jtattermusch","followers_url":"https://api.github.com/users/jtattermusch/followers","following_url":"https://api.github.com/users/jtattermusch/following{/other_user}","gists_url":"https://api.github.com/users/jtattermusch/gists{/gist_id}","starred_url":"https://api.github.com/users/jtattermusch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jtattermusch/subscriptions","organizations_url":"https://api.github.com/users/jtattermusch/orgs","repos_url":"https://api.github.com/users/jtattermusch/repos","events_url":"https://api.github.com/users/jtattermusch/events{/privacy}","received_events_url":"https://api.github.com/users/jtattermusch/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/grpc/grpc/pulls/4057/commits","review_comments_url":"https://api.github.com/repos/grpc/grpc/pulls/4057/comments","review_comment_url":"https://api.github.com/repos/grpc/grpc/pulls/comments{/number}","comments_url":"https://api.github.com/repos/grpc/grpc/issues/4057/comments","statuses_url":"https://api.github.com/repos/grpc/grpc/statuses/7b73966ee7a097f8db40b1d56429077e654fe000","head":{"label":"sreecha:stress_tests_gke_api","ref":"stress_tests_gke_api","sha":"7b73966ee7a097f8db40b1d56429077e654fe000","user":{"login":"sreecha","id":2754995,"avatar_url":"https://avatars.githubusercontent.com/u/2754995?v=3","gravatar_id":"","url":"https://api.github.com/users/sreecha","html_url":"https://github.com/sreecha","followers_url":"https://api.github.com/users/sreecha/followers","following_url":"https://api.github.com/users/sreecha/following{/other_user}","gists_url":"https://api.github.com/users/sreecha/gists{/gist_id}","starred_url":"https://api.github.com/users/sreecha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sreecha/subscriptions","organizations_url":"https://api.github.com/users/sreecha/orgs","repos_url":"https://api.github.com/users/sreecha/repos","events_url":"https://api.github.com/users/sreecha/events{/privacy}","received_events_url":"https://api.github.com/users/sreecha/received_events","type":"User","site_admin":false},"repo":{"id":43380244,"name":"grpc","full_name":"sreecha/grpc","owner":{"login":"sreecha","id":2754995,"avatar_url":"https://avatars.githubusercontent.com/u/2754995?v=3","gravatar_id":"","url":"https://api.github.com/users/sreecha","html_url":"https://github.com/sreecha","followers_url":"https://api.github.com/users/sreecha/followers","following_url":"https://api.github.com/users/sreecha/following{/other_user}","gists_url":"https://api.github.com/users/sreecha/gists{/gist_id}","starred_url":"https://api.github.com/users/sreecha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sreecha/subscriptions","organizations_url":"https://api.github.com/users/sreecha/orgs","repos_url":"https://api.github.com/users/sreecha/repos","events_url":"https://api.github.com/users/sreecha/events{/privacy}","received_events_url":"https://api.github.com/users/sreecha/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sreecha/grpc","description":"The C based gRPC (C++, Node.js, Python, Ruby, Objective-C, PHP, C#)","fork":true,"url":"https://api.github.com/repos/sreecha/grpc","forks_url":"https://api.github.com/repos/sreecha/grpc/forks","keys_url":"https://api.github.com/repos/sreecha/grpc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sreecha/grpc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sreecha/grpc/teams","hooks_url":"https://api.github.com/repos/sreecha/grpc/hooks","issue_events_url":"https://api.github.com/repos/sreecha/grpc/issues/events{/number}","events_url":"https://api.github.com/repos/sreecha/grpc/events","assignees_url":"https://api.github.com/repos/sreecha/grpc/assignees{/user}","branches_url":"https://api.github.com/repos/sreecha/grpc/branches{/branch}","tags_url":"https://api.github.com/repos/sreecha/grpc/tags","blobs_url":"https://api.github.com/repos/sreecha/grpc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sreecha/grpc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sreecha/grpc/git/refs{/sha}","trees_url":"https://api.github.com/repos/sreecha/grpc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sreecha/grpc/statuses/{sha}","languages_url":"https://api.github.com/repos/sreecha/grpc/languages","stargazers_url":"https://api.github.com/repos/sreecha/grpc/stargazers","contributors_url":"https://api.github.com/repos/sreecha/grpc/contributors","subscribers_url":"https://api.github.com/repos/sreecha/grpc/subscribers","subscription_url":"https://api.github.com/repos/sreecha/grpc/subscription","commits_url":"https://api.github.com/repos/sreecha/grpc/commits{/sha}","git_commits_url":"https://api.github.com/repos/sreecha/grpc/git/commits{/sha}","comments_url":"https://api.github.com/repos/sreecha/grpc/comments{/number}","issue_comment_url":"https://api.github.com/repos/sreecha/grpc/issues/comments{/number}","contents_url":"https://api.github.com/repos/sreecha/grpc/contents/{+path}","compare_url":"https://api.github.com/repos/sreecha/grpc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sreecha/grpc/merges","archive_url":"https://api.github.com/repos/sreecha/grpc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sreecha/grpc/downloads","issues_url":"https://api.github.com/repos/sreecha/grpc/issues{/number}","pulls_url":"https://api.github.com/repos/sreecha/grpc/pulls{/number}","milestones_url":"https://api.github.com/repos/sreecha/grpc/milestones{/number}","notifications_url":"https://api.github.com/repos/sreecha/grpc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sreecha/grpc/labels{/name}","releases_url":"https://api.github.com/repos/sreecha/grpc/releases{/id}","created_at":"2015-09-29T16:39:17Z","updated_at":"2015-09-29T16:39:33Z","pushed_at":"2015-11-16T22:46:02Z","git_url":"git://github.com/sreecha/grpc.git","ssh_url":"git@github.com:sreecha/grpc.git","clone_url":"https://github.com/sreecha/grpc.git","svn_url":"https://github.com/sreecha/grpc","homepage":"","size":60602,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":false,"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":"grpc:master","ref":"master","sha":"d67b35635eca097abc5a3543a87754ddd9173a3d","user":{"login":"grpc","id":7802525,"avatar_url":"https://avatars.githubusercontent.com/u/7802525?v=3","gravatar_id":"","url":"https://api.github.com/users/grpc","html_url":"https://github.com/grpc","followers_url":"https://api.github.com/users/grpc/followers","following_url":"https://api.github.com/users/grpc/following{/other_user}","gists_url":"https://api.github.com/users/grpc/gists{/gist_id}","starred_url":"https://api.github.com/users/grpc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grpc/subscriptions","organizations_url":"https://api.github.com/users/grpc/orgs","repos_url":"https://api.github.com/users/grpc/repos","events_url":"https://api.github.com/users/grpc/events{/privacy}","received_events_url":"https://api.github.com/users/grpc/received_events","type":"Organization","site_admin":false},"repo":{"id":27729880,"name":"grpc","full_name":"grpc/grpc","owner":{"login":"grpc","id":7802525,"avatar_url":"https://avatars.githubusercontent.com/u/7802525?v=3","gravatar_id":"","url":"https://api.github.com/users/grpc","html_url":"https://github.com/grpc","followers_url":"https://api.github.com/users/grpc/followers","following_url":"https://api.github.com/users/grpc/following{/other_user}","gists_url":"https://api.github.com/users/grpc/gists{/gist_id}","starred_url":"https://api.github.com/users/grpc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grpc/subscriptions","organizations_url":"https://api.github.com/users/grpc/orgs","repos_url":"https://api.github.com/users/grpc/repos","events_url":"https://api.github.com/users/grpc/events{/privacy}","received_events_url":"https://api.github.com/users/grpc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/grpc/grpc","description":"The C based gRPC (C++, Node.js, Python, Ruby, Objective-C, PHP, C#)","fork":false,"url":"https://api.github.com/repos/grpc/grpc","forks_url":"https://api.github.com/repos/grpc/grpc/forks","keys_url":"https://api.github.com/repos/grpc/grpc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/grpc/grpc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/grpc/grpc/teams","hooks_url":"https://api.github.com/repos/grpc/grpc/hooks","issue_events_url":"https://api.github.com/repos/grpc/grpc/issues/events{/number}","events_url":"https://api.github.com/repos/grpc/grpc/events","assignees_url":"https://api.github.com/repos/grpc/grpc/assignees{/user}","branches_url":"https://api.github.com/repos/grpc/grpc/branches{/branch}","tags_url":"https://api.github.com/repos/grpc/grpc/tags","blobs_url":"https://api.github.com/repos/grpc/grpc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/grpc/grpc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/grpc/grpc/git/refs{/sha}","trees_url":"https://api.github.com/repos/grpc/grpc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/grpc/grpc/statuses/{sha}","languages_url":"https://api.github.com/repos/grpc/grpc/languages","stargazers_url":"https://api.github.com/repos/grpc/grpc/stargazers","contributors_url":"https://api.github.com/repos/grpc/grpc/contributors","subscribers_url":"https://api.github.com/repos/grpc/grpc/subscribers","subscription_url":"https://api.github.com/repos/grpc/grpc/subscription","commits_url":"https://api.github.com/repos/grpc/grpc/commits{/sha}","git_commits_url":"https://api.github.com/repos/grpc/grpc/git/commits{/sha}","comments_url":"https://api.github.com/repos/grpc/grpc/comments{/number}","issue_comment_url":"https://api.github.com/repos/grpc/grpc/issues/comments{/number}","contents_url":"https://api.github.com/repos/grpc/grpc/contents/{+path}","compare_url":"https://api.github.com/repos/grpc/grpc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/grpc/grpc/merges","archive_url":"https://api.github.com/repos/grpc/grpc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/grpc/grpc/downloads","issues_url":"https://api.github.com/repos/grpc/grpc/issues{/number}","pulls_url":"https://api.github.com/repos/grpc/grpc/pulls{/number}","milestones_url":"https://api.github.com/repos/grpc/grpc/milestones{/number}","notifications_url":"https://api.github.com/repos/grpc/grpc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/grpc/grpc/labels{/name}","releases_url":"https://api.github.com/repos/grpc/grpc/releases{/id}","created_at":"2014-12-08T18:58:53Z","updated_at":"2015-11-17T01:31:18Z","pushed_at":"2015-11-17T00:49:50Z","git_url":"git://github.com/grpc/grpc.git","ssh_url":"git@github.com:grpc/grpc.git","clone_url":"https://github.com/grpc/grpc.git","svn_url":"https://github.com/grpc/grpc","homepage":"","size":158124,"stargazers_count":3647,"watchers_count":3647,"language":"C","has_issues":true,"has_downloads":false,"has_wiki":true,"has_pages":true,"forks_count":562,"mirror_url":null,"open_issues_count":501,"forks":562,"open_issues":501,"watchers":3647,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/grpc/grpc/pulls/4057"},"html":{"href":"https://github.com/grpc/grpc/pull/4057"},"issue":{"href":"https://api.github.com/repos/grpc/grpc/issues/4057"},"comments":{"href":"https://api.github.com/repos/grpc/grpc/issues/4057/comments"},"review_comments":{"href":"https://api.github.com/repos/grpc/grpc/pulls/4057/comments"},"review_comment":{"href":"https://api.github.com/repos/grpc/grpc/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/grpc/grpc/pulls/4057/commits"},"statuses":{"href":"https://api.github.com/repos/grpc/grpc/statuses/7b73966ee7a097f8db40b1d56429077e654fe000"}}}}