{"action":"created","comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes.github.io/pulls/comments/83751976","pull_request_review_id":4574881,"id":83751976,"diff_hunk":"@@ -0,0 +1,168 @@\n+---\n+assignees:\n+- erictune\n+\n+---\n+\n+* TOC\n+{:toc}\n+\n+In addition to having one or more main containers (or **app containers**), a\n+pod can also have one or more **init containers** which run before the app\n+containers.   Init containers allow you to reduce and reorganize setup scripts\n+and \"glue code\".\n+\n+## Summary\n+\n+An init container is exactly like a regular container, except that it always\n+runs to completion and each init container must complete successfully before\n+the next one is started. If the init container fails (exits with a non-zero\n+exit code) on a `RestartNever` pod the pod will fail - otherwise it will be\n+restarted until it succeeds or the user deletes the pod.\n+\n+Init containers are currently specified by adding an annotation.  The","path":"docs/user-guide/pods/init-container.md","position":23,"original_position":23,"commit_id":"95e54e6d540f7dd883411d628b48081d43027c3d","original_commit_id":"95e54e6d540f7dd883411d628b48081d43027c3d","user":{"login":"devin-donnelly","id":18451904,"avatar_url":"https://avatars.githubusercontent.com/u/18451904?v=3","gravatar_id":"","url":"https://api.github.com/users/devin-donnelly","html_url":"https://github.com/devin-donnelly","followers_url":"https://api.github.com/users/devin-donnelly/followers","following_url":"https://api.github.com/users/devin-donnelly/following{/other_user}","gists_url":"https://api.github.com/users/devin-donnelly/gists{/gist_id}","starred_url":"https://api.github.com/users/devin-donnelly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devin-donnelly/subscriptions","organizations_url":"https://api.github.com/users/devin-donnelly/orgs","repos_url":"https://api.github.com/users/devin-donnelly/repos","events_url":"https://api.github.com/users/devin-donnelly/events{/privacy}","received_events_url":"https://api.github.com/users/devin-donnelly/received_events","type":"User","site_admin":false},"body":"\"Currently\"? Will this change?\r\n\r\nHow about \"You specify a container as an init container by adding an annotation.\"","created_at":"2016-10-17T22:55:48Z","updated_at":"2016-10-17T22:55:48Z","html_url":"https://github.com/kubernetes/kubernetes.github.io/pull/1464#discussion_r83751976","pull_request_url":"https://api.github.com/repos/kubernetes/kubernetes.github.io/pulls/1464","_links":{"self":{"href":"https://api.github.com/repos/kubernetes/kubernetes.github.io/pulls/comments/83751976"},"html":{"href":"https://github.com/kubernetes/kubernetes.github.io/pull/1464#discussion_r83751976"},"pull_request":{"href":"https://api.github.com/repos/kubernetes/kubernetes.github.io/pulls/1464"}}},"pull_request":{"url":"https://api.github.com/repos/kubernetes/kubernetes.github.io/pulls/1464","id":89431579,"html_url":"https://github.com/kubernetes/kubernetes.github.io/pull/1464","diff_url":"https://github.com/kubernetes/kubernetes.github.io/pull/1464.diff","patch_url":"https://github.com/kubernetes/kubernetes.github.io/pull/1464.patch","issue_url":"https://api.github.com/repos/kubernetes/kubernetes.github.io/issues/1464","number":1464,"state":"open","locked":false,"title":"Added init container documentation.","user":{"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},"body":"Based loosely on the design proposal.\n\n<!-- Reviewable:start -->\n---\nThis change is [<img src=\"https://reviewable.kubernetes.io/review_button.svg\" height=\"34\" align=\"absmiddle\" alt=\"Reviewable\"/>](https://reviewable.kubernetes.io/reviews/kubernetes/kubernetes.github.io/1464)\n<!-- Reviewable:end -->\n","created_at":"2016-10-14T18:26:00Z","updated_at":"2016-10-17T23:04:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3c527439292e9c23afdc5e17ce3f24490e81846e","assignee":{"login":"foxish","id":906471,"avatar_url":"https://avatars.githubusercontent.com/u/906471?v=3","gravatar_id":"","url":"https://api.github.com/users/foxish","html_url":"https://github.com/foxish","followers_url":"https://api.github.com/users/foxish/followers","following_url":"https://api.github.com/users/foxish/following{/other_user}","gists_url":"https://api.github.com/users/foxish/gists{/gist_id}","starred_url":"https://api.github.com/users/foxish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/foxish/subscriptions","organizations_url":"https://api.github.com/users/foxish/orgs","repos_url":"https://api.github.com/users/foxish/repos","events_url":"https://api.github.com/users/foxish/events{/privacy}","received_events_url":"https://api.github.com/users/foxish/received_events","type":"User","site_admin":false},"assignees":[{"login":"foxish","id":906471,"avatar_url":"https://avatars.githubusercontent.com/u/906471?v=3","gravatar_id":"","url":"https://api.github.com/users/foxish","html_url":"https://github.com/foxish","followers_url":"https://api.github.com/users/foxish/followers","following_url":"https://api.github.com/users/foxish/following{/other_user}","gists_url":"https://api.github.com/users/foxish/gists{/gist_id}","starred_url":"https://api.github.com/users/foxish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/foxish/subscriptions","organizations_url":"https://api.github.com/users/foxish/orgs","repos_url":"https://api.github.com/users/foxish/repos","events_url":"https://api.github.com/users/foxish/events{/privacy}","received_events_url":"https://api.github.com/users/foxish/received_events","type":"User","site_admin":false},{"login":"smarterclayton","id":1163175,"avatar_url":"https://avatars.githubusercontent.com/u/1163175?v=3","gravatar_id":"","url":"https://api.github.com/users/smarterclayton","html_url":"https://github.com/smarterclayton","followers_url":"https://api.github.com/users/smarterclayton/followers","following_url":"https://api.github.com/users/smarterclayton/following{/other_user}","gists_url":"https://api.github.com/users/smarterclayton/gists{/gist_id}","starred_url":"https://api.github.com/users/smarterclayton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smarterclayton/subscriptions","organizations_url":"https://api.github.com/users/smarterclayton/orgs","repos_url":"https://api.github.com/users/smarterclayton/repos","events_url":"https://api.github.com/users/smarterclayton/events{/privacy}","received_events_url":"https://api.github.com/users/smarterclayton/received_events","type":"User","site_admin":false},{"login":"dchen1107","id":7740897,"avatar_url":"https://avatars.githubusercontent.com/u/7740897?v=3","gravatar_id":"","url":"https://api.github.com/users/dchen1107","html_url":"https://github.com/dchen1107","followers_url":"https://api.github.com/users/dchen1107/followers","following_url":"https://api.github.com/users/dchen1107/following{/other_user}","gists_url":"https://api.github.com/users/dchen1107/gists{/gist_id}","starred_url":"https://api.github.com/users/dchen1107/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dchen1107/subscriptions","organizations_url":"https://api.github.com/users/dchen1107/orgs","repos_url":"https://api.github.com/users/dchen1107/repos","events_url":"https://api.github.com/users/dchen1107/events{/privacy}","received_events_url":"https://api.github.com/users/dchen1107/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/kubernetes/kubernetes.github.io/pulls/1464/commits","review_comments_url":"https://api.github.com/repos/kubernetes/kubernetes.github.io/pulls/1464/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/1464/comments","statuses_url":"https://api.github.com/repos/kubernetes/kubernetes.github.io/statuses/95e54e6d540f7dd883411d628b48081d43027c3d","head":{"label":"erictune:init-cont-doc","ref":"init-cont-doc","sha":"95e54e6d540f7dd883411d628b48081d43027c3d","user":{"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},"repo":{"id":54070650,"name":"erictune.github.io","full_name":"erictune/erictune.github.io","owner":{"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},"private":false,"html_url":"https://github.com/erictune/erictune.github.io","description":"Website/documentation repo","fork":true,"url":"https://api.github.com/repos/erictune/erictune.github.io","forks_url":"https://api.github.com/repos/erictune/erictune.github.io/forks","keys_url":"https://api.github.com/repos/erictune/erictune.github.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/erictune/erictune.github.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/erictune/erictune.github.io/teams","hooks_url":"https://api.github.com/repos/erictune/erictune.github.io/hooks","issue_events_url":"https://api.github.com/repos/erictune/erictune.github.io/issues/events{/number}","events_url":"https://api.github.com/repos/erictune/erictune.github.io/events","assignees_url":"https://api.github.com/repos/erictune/erictune.github.io/assignees{/user}","branches_url":"https://api.github.com/repos/erictune/erictune.github.io/branches{/branch}","tags_url":"https://api.github.com/repos/erictune/erictune.github.io/tags","blobs_url":"https://api.github.com/repos/erictune/erictune.github.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/erictune/erictune.github.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/erictune/erictune.github.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/erictune/erictune.github.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/erictune/erictune.github.io/statuses/{sha}","languages_url":"https://api.github.com/repos/erictune/erictune.github.io/languages","stargazers_url":"https://api.github.com/repos/erictune/erictune.github.io/stargazers","contributors_url":"https://api.github.com/repos/erictune/erictune.github.io/contributors","subscribers_url":"https://api.github.com/repos/erictune/erictune.github.io/subscribers","subscription_url":"https://api.github.com/repos/erictune/erictune.github.io/subscription","commits_url":"https://api.github.com/repos/erictune/erictune.github.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/erictune/erictune.github.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/erictune/erictune.github.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/erictune/erictune.github.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/erictune/erictune.github.io/contents/{+path}","compare_url":"https://api.github.com/repos/erictune/erictune.github.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/erictune/erictune.github.io/merges","archive_url":"https://api.github.com/repos/erictune/erictune.github.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/erictune/erictune.github.io/downloads","issues_url":"https://api.github.com/repos/erictune/erictune.github.io/issues{/number}","pulls_url":"https://api.github.com/repos/erictune/erictune.github.io/pulls{/number}","milestones_url":"https://api.github.com/repos/erictune/erictune.github.io/milestones{/number}","notifications_url":"https://api.github.com/repos/erictune/erictune.github.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/erictune/erictune.github.io/labels{/name}","releases_url":"https://api.github.com/repos/erictune/erictune.github.io/releases{/id}","deployments_url":"https://api.github.com/repos/erictune/erictune.github.io/deployments","created_at":"2016-03-16T22:23:00Z","updated_at":"2016-03-16T22:24:35Z","pushed_at":"2016-10-14T17:59:05Z","git_url":"git://github.com/erictune/erictune.github.io.git","ssh_url":"git@github.com:erictune/erictune.github.io.git","clone_url":"https://github.com/erictune/erictune.github.io.git","svn_url":"https://github.com/erictune/erictune.github.io","homepage":null,"size":39233,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_downloads":true,"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":"kubernetes:master","ref":"master","sha":"5f80e4623df313482945325a36577e3e24f877b9","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-10-17T13:22:10Z","pushed_at":"2016-10-17T22:58:56Z","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":48753,"stargazers_count":77,"watchers_count":77,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":550,"mirror_url":null,"open_issues_count":452,"forks":550,"open_issues":452,"watchers":77,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kubernetes/kubernetes.github.io/pulls/1464"},"html":{"href":"https://github.com/kubernetes/kubernetes.github.io/pull/1464"},"issue":{"href":"https://api.github.com/repos/kubernetes/kubernetes.github.io/issues/1464"},"comments":{"href":"https://api.github.com/repos/kubernetes/kubernetes.github.io/issues/1464/comments"},"review_comments":{"href":"https://api.github.com/repos/kubernetes/kubernetes.github.io/pulls/1464/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/1464/commits"},"statuses":{"href":"https://api.github.com/repos/kubernetes/kubernetes.github.io/statuses/95e54e6d540f7dd883411d628b48081d43027c3d"}}}}
{"actor":{"display_login":"devin-donnelly"}}