{"action":"created","comment":{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/pulls/comments/36736049","id":36736049,"diff_hunk":"@@ -0,0 +1,135 @@\n+# Job Controller\n+\n+## Abstract\n+A proposal for implementing a new controller - Job controller - which will be responsible\n+for managing pod(s) that require to run-once to a completion even if the machine\n+the pod is running on fails, in contrast to what ReplicationController currently offers.\n+\n+Several existing issues and PRs were already created regarding that particular subject:\n+* Job Controller [#1624](https://github.com/GoogleCloudPlatform/kubernetes/issues/1624)\n+* New Job resource [#7380](https://github.com/GoogleCloudPlatform/kubernetes/pull/7380)\n+\n+\n+## Use Cases\n+1. Be able to start one or several pods tracked as a single entity.\n+1. Be able to run batch-oriented workloads on Kubernetes.\n+1. Be able to get the job status.\n+1. Be able to limit the execution time for a job.\n+1. Be able to specify the number of instances performing a job at any one time.\n+1. Be able to specify the number of successfully finished instances required to finish a job.\n+","path":"docs/proposals/job.md","position":20,"original_position":20,"commit_id":"c489774738e301309b2233e6d4ed34bef6f71a19","original_commit_id":"c489774738e301309b2233e6d4ed34bef6f71a19","user":{"login":"kargakis","id":3900799,"avatar_url":"https://avatars.githubusercontent.com/u/3900799?v=3","gravatar_id":"","url":"https://api.github.com/users/kargakis","html_url":"https://github.com/kargakis","followers_url":"https://api.github.com/users/kargakis/followers","following_url":"https://api.github.com/users/kargakis/following{/other_user}","gists_url":"https://api.github.com/users/kargakis/gists{/gist_id}","starred_url":"https://api.github.com/users/kargakis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kargakis/subscriptions","organizations_url":"https://api.github.com/users/kargakis/orgs","repos_url":"https://api.github.com/users/kargakis/repos","events_url":"https://api.github.com/users/kargakis/events{/privacy}","received_events_url":"https://api.github.com/users/kargakis/received_events","type":"User","site_admin":false},"body":"Also note that `cascade` is true by default so it's really `kubectl delete job/one`","created_at":"2015-08-11T11:47:34Z","updated_at":"2015-08-11T11:47:34Z","html_url":"https://github.com/GoogleCloudPlatform/kubernetes/pull/11746#discussion_r36736049","pull_request_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/pulls/11746","_links":{"self":{"href":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/pulls/comments/36736049"},"html":{"href":"https://github.com/GoogleCloudPlatform/kubernetes/pull/11746#discussion_r36736049"},"pull_request":{"href":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/pulls/11746"}}},"pull_request":{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/pulls/11746","id":40664446,"html_url":"https://github.com/GoogleCloudPlatform/kubernetes/pull/11746","diff_url":"https://github.com/GoogleCloudPlatform/kubernetes/pull/11746.diff","patch_url":"https://github.com/GoogleCloudPlatform/kubernetes/pull/11746.patch","issue_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/11746","number":11746,"state":"open","locked":false,"title":"Job controller proposal","user":{"login":"soltysh","id":576341,"avatar_url":"https://avatars.githubusercontent.com/u/576341?v=3","gravatar_id":"","url":"https://api.github.com/users/soltysh","html_url":"https://github.com/soltysh","followers_url":"https://api.github.com/users/soltysh/followers","following_url":"https://api.github.com/users/soltysh/following{/other_user}","gists_url":"https://api.github.com/users/soltysh/gists{/gist_id}","starred_url":"https://api.github.com/users/soltysh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soltysh/subscriptions","organizations_url":"https://api.github.com/users/soltysh/orgs","repos_url":"https://api.github.com/users/soltysh/repos","events_url":"https://api.github.com/users/soltysh/events{/privacy}","received_events_url":"https://api.github.com/users/soltysh/received_events","type":"User","site_admin":false},"body":"To continue discussion started in https://github.com/openshift/origin/pull/3693\r\n\r\n// cc @smarterclayton @timothysc @pmorie @bgrant0607 @davidopp @nwendling @derekwaynecarr ","created_at":"2015-07-23T12:05:01Z","updated_at":"2015-08-11T11:47:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0f8292e26d67029626786464211c64618685caf7","assignee":{"login":"erictune","id":8105590,"avatar_url":"https://avatars.githubusercontent.com/u/8105590?v=3","gravatar_id":"","url":"https://api.github.com/users/erictune","html_url":"https://github.com/erictune","followers_url":"https://api.github.com/users/erictune/followers","following_url":"https://api.github.com/users/erictune/following{/other_user}","gists_url":"https://api.github.com/users/erictune/gists{/gist_id}","starred_url":"https://api.github.com/users/erictune/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erictune/subscriptions","organizations_url":"https://api.github.com/users/erictune/orgs","repos_url":"https://api.github.com/users/erictune/repos","events_url":"https://api.github.com/users/erictune/events{/privacy}","received_events_url":"https://api.github.com/users/erictune/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/pulls/11746/commits","review_comments_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/pulls/11746/comments","review_comment_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/pulls/comments{/number}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/11746/comments","statuses_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/statuses/c489774738e301309b2233e6d4ed34bef6f71a19","head":{"label":"soltysh:job_controller_proposal","ref":"job_controller_proposal","sha":"c489774738e301309b2233e6d4ed34bef6f71a19","user":{"login":"soltysh","id":576341,"avatar_url":"https://avatars.githubusercontent.com/u/576341?v=3","gravatar_id":"","url":"https://api.github.com/users/soltysh","html_url":"https://github.com/soltysh","followers_url":"https://api.github.com/users/soltysh/followers","following_url":"https://api.github.com/users/soltysh/following{/other_user}","gists_url":"https://api.github.com/users/soltysh/gists{/gist_id}","starred_url":"https://api.github.com/users/soltysh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soltysh/subscriptions","organizations_url":"https://api.github.com/users/soltysh/orgs","repos_url":"https://api.github.com/users/soltysh/repos","events_url":"https://api.github.com/users/soltysh/events{/privacy}","received_events_url":"https://api.github.com/users/soltysh/received_events","type":"User","site_admin":false},"repo":{"id":22375428,"name":"kubernetes","full_name":"soltysh/kubernetes","owner":{"login":"soltysh","id":576341,"avatar_url":"https://avatars.githubusercontent.com/u/576341?v=3","gravatar_id":"","url":"https://api.github.com/users/soltysh","html_url":"https://github.com/soltysh","followers_url":"https://api.github.com/users/soltysh/followers","following_url":"https://api.github.com/users/soltysh/following{/other_user}","gists_url":"https://api.github.com/users/soltysh/gists{/gist_id}","starred_url":"https://api.github.com/users/soltysh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soltysh/subscriptions","organizations_url":"https://api.github.com/users/soltysh/orgs","repos_url":"https://api.github.com/users/soltysh/repos","events_url":"https://api.github.com/users/soltysh/events{/privacy}","received_events_url":"https://api.github.com/users/soltysh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/soltysh/kubernetes","description":"Container Cluster Manager","fork":true,"url":"https://api.github.com/repos/soltysh/kubernetes","forks_url":"https://api.github.com/repos/soltysh/kubernetes/forks","keys_url":"https://api.github.com/repos/soltysh/kubernetes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/soltysh/kubernetes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/soltysh/kubernetes/teams","hooks_url":"https://api.github.com/repos/soltysh/kubernetes/hooks","issue_events_url":"https://api.github.com/repos/soltysh/kubernetes/issues/events{/number}","events_url":"https://api.github.com/repos/soltysh/kubernetes/events","assignees_url":"https://api.github.com/repos/soltysh/kubernetes/assignees{/user}","branches_url":"https://api.github.com/repos/soltysh/kubernetes/branches{/branch}","tags_url":"https://api.github.com/repos/soltysh/kubernetes/tags","blobs_url":"https://api.github.com/repos/soltysh/kubernetes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/soltysh/kubernetes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/soltysh/kubernetes/git/refs{/sha}","trees_url":"https://api.github.com/repos/soltysh/kubernetes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/soltysh/kubernetes/statuses/{sha}","languages_url":"https://api.github.com/repos/soltysh/kubernetes/languages","stargazers_url":"https://api.github.com/repos/soltysh/kubernetes/stargazers","contributors_url":"https://api.github.com/repos/soltysh/kubernetes/contributors","subscribers_url":"https://api.github.com/repos/soltysh/kubernetes/subscribers","subscription_url":"https://api.github.com/repos/soltysh/kubernetes/subscription","commits_url":"https://api.github.com/repos/soltysh/kubernetes/commits{/sha}","git_commits_url":"https://api.github.com/repos/soltysh/kubernetes/git/commits{/sha}","comments_url":"https://api.github.com/repos/soltysh/kubernetes/comments{/number}","issue_comment_url":"https://api.github.com/repos/soltysh/kubernetes/issues/comments{/number}","contents_url":"https://api.github.com/repos/soltysh/kubernetes/contents/{+path}","compare_url":"https://api.github.com/repos/soltysh/kubernetes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/soltysh/kubernetes/merges","archive_url":"https://api.github.com/repos/soltysh/kubernetes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/soltysh/kubernetes/downloads","issues_url":"https://api.github.com/repos/soltysh/kubernetes/issues{/number}","pulls_url":"https://api.github.com/repos/soltysh/kubernetes/pulls{/number}","milestones_url":"https://api.github.com/repos/soltysh/kubernetes/milestones{/number}","notifications_url":"https://api.github.com/repos/soltysh/kubernetes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/soltysh/kubernetes/labels{/name}","releases_url":"https://api.github.com/repos/soltysh/kubernetes/releases{/id}","created_at":"2014-07-29T09:56:32Z","updated_at":"2015-05-07T19:43:22Z","pushed_at":"2015-08-11T08:46:08Z","git_url":"git://github.com/soltysh/kubernetes.git","ssh_url":"git@github.com:soltysh/kubernetes.git","clone_url":"https://github.com/soltysh/kubernetes.git","svn_url":"https://github.com/soltysh/kubernetes","homepage":null,"size":93064,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"GoogleCloudPlatform:master","ref":"master","sha":"c25bcaa395e4e80ca220af6d0e28f660e69a10a7","user":{"login":"GoogleCloudPlatform","id":2810941,"avatar_url":"https://avatars.githubusercontent.com/u/2810941?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCloudPlatform","html_url":"https://github.com/GoogleCloudPlatform","followers_url":"https://api.github.com/users/GoogleCloudPlatform/followers","following_url":"https://api.github.com/users/GoogleCloudPlatform/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCloudPlatform/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCloudPlatform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCloudPlatform/subscriptions","organizations_url":"https://api.github.com/users/GoogleCloudPlatform/orgs","repos_url":"https://api.github.com/users/GoogleCloudPlatform/repos","events_url":"https://api.github.com/users/GoogleCloudPlatform/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCloudPlatform/received_events","type":"Organization","site_admin":false},"repo":{"id":20580498,"name":"kubernetes","full_name":"GoogleCloudPlatform/kubernetes","owner":{"login":"GoogleCloudPlatform","id":2810941,"avatar_url":"https://avatars.githubusercontent.com/u/2810941?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCloudPlatform","html_url":"https://github.com/GoogleCloudPlatform","followers_url":"https://api.github.com/users/GoogleCloudPlatform/followers","following_url":"https://api.github.com/users/GoogleCloudPlatform/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCloudPlatform/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCloudPlatform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCloudPlatform/subscriptions","organizations_url":"https://api.github.com/users/GoogleCloudPlatform/orgs","repos_url":"https://api.github.com/users/GoogleCloudPlatform/repos","events_url":"https://api.github.com/users/GoogleCloudPlatform/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCloudPlatform/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/GoogleCloudPlatform/kubernetes","description":"Container Cluster Manager from Google","fork":false,"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes","forks_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/forks","keys_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/teams","hooks_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/hooks","issue_events_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/events{/number}","events_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/events","assignees_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/assignees{/user}","branches_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/branches{/branch}","tags_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/tags","blobs_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/git/refs{/sha}","trees_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/statuses/{sha}","languages_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/languages","stargazers_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/stargazers","contributors_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/contributors","subscribers_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/subscribers","subscription_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/subscription","commits_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/commits{/sha}","git_commits_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/git/commits{/sha}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/comments{/number}","issue_comment_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/comments{/number}","contents_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/contents/{+path}","compare_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/merges","archive_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/downloads","issues_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues{/number}","pulls_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/pulls{/number}","milestones_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/milestones{/number}","notifications_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/labels{/name}","releases_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/releases{/id}","created_at":"2014-06-06T22:56:04Z","updated_at":"2015-08-11T11:28:31Z","pushed_at":"2015-08-11T11:27:14Z","git_url":"git://github.com/GoogleCloudPlatform/kubernetes.git","ssh_url":"git@github.com:GoogleCloudPlatform/kubernetes.git","clone_url":"https://github.com/GoogleCloudPlatform/kubernetes.git","svn_url":"https://github.com/GoogleCloudPlatform/kubernetes","homepage":"http://kubernetes.io","size":341114,"stargazers_count":9627,"watchers_count":9627,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2297,"mirror_url":null,"open_issues_count":1729,"forks":2297,"open_issues":1729,"watchers":9627,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/pulls/11746"},"html":{"href":"https://github.com/GoogleCloudPlatform/kubernetes/pull/11746"},"issue":{"href":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/11746"},"comments":{"href":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/11746/comments"},"review_comments":{"href":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/pulls/11746/comments"},"review_comment":{"href":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/pulls/11746/commits"},"statuses":{"href":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/statuses/c489774738e301309b2233e6d4ed34bef6f71a19"}}}}