{"action":"closed","number":100,"pull_request":{"url":"https://api.github.com/repos/hyperhq/hypernetes/pulls/100","id":67479939,"html_url":"https://github.com/hyperhq/hypernetes/pull/100","diff_url":"https://github.com/hyperhq/hypernetes/pull/100.diff","patch_url":"https://github.com/hyperhq/hypernetes/pull/100.patch","issue_url":"https://api.github.com/repos/hyperhq/hypernetes/issues/100","number":100,"state":"closed","locked":false,"title":"Enable termination message log in Hyper runtime","user":{"login":"resouer","id":1701782,"avatar_url":"https://avatars.githubusercontent.com/u/1701782?v=3","gravatar_id":"","url":"https://api.github.com/users/resouer","html_url":"https://github.com/resouer","followers_url":"https://api.github.com/users/resouer/followers","following_url":"https://api.github.com/users/resouer/following{/other_user}","gists_url":"https://api.github.com/users/resouer/gists{/gist_id}","starred_url":"https://api.github.com/users/resouer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/resouer/subscriptions","organizations_url":"https://api.github.com/users/resouer/orgs","repos_url":"https://api.github.com/users/resouer/repos","events_url":"https://api.github.com/users/resouer/events{/privacy}","received_events_url":"https://api.github.com/users/resouer/received_events","type":"User","site_admin":false},"body":"1. mount termination msg path as Hyper volume\r\n2. add msg path info into Pod label (we don't have container level label/annotation yet)\r\n3. when pod run into `StatusSuccess`, collect the msg from msg path\r\n\r\nFixes: #93\r\n\r\nUsage:\r\n```\r\n// After the container exited\r\nkubectl get pods/pod-w-message  -o yaml\r\n\r\n...\r\n state:\r\n      terminated:\r\n        containerID: hyper://852a3c522c4c5e4caf0c14b20dc9ee1c24ef6a2d1d78cd1e33fe4256c2373a0d\r\n        exitCode: 0\r\n        finishedAt: 2016-04-22T12:24:09Z\r\n        message: |\r\n          Sleep expired\r\n        reason: Succeeded\r\n        startedAt: 2016-04-22T12:23:38Z\r\n...\r\n```","created_at":"2016-04-22T09:02:24Z","updated_at":"2016-04-24T11:30:12Z","closed_at":"2016-04-24T11:30:12Z","merged_at":"2016-04-24T11:30:12Z","merge_commit_sha":"e0df0ed9738301df0b7006b18078e68a76c94d5e","assignee":{"login":"resouer","id":1701782,"avatar_url":"https://avatars.githubusercontent.com/u/1701782?v=3","gravatar_id":"","url":"https://api.github.com/users/resouer","html_url":"https://github.com/resouer","followers_url":"https://api.github.com/users/resouer/followers","following_url":"https://api.github.com/users/resouer/following{/other_user}","gists_url":"https://api.github.com/users/resouer/gists{/gist_id}","starred_url":"https://api.github.com/users/resouer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/resouer/subscriptions","organizations_url":"https://api.github.com/users/resouer/orgs","repos_url":"https://api.github.com/users/resouer/repos","events_url":"https://api.github.com/users/resouer/events{/privacy}","received_events_url":"https://api.github.com/users/resouer/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/hyperhq/hypernetes/pulls/100/commits","review_comments_url":"https://api.github.com/repos/hyperhq/hypernetes/pulls/100/comments","review_comment_url":"https://api.github.com/repos/hyperhq/hypernetes/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hyperhq/hypernetes/issues/100/comments","statuses_url":"https://api.github.com/repos/hyperhq/hypernetes/statuses/2f970c5c557f72322f2d36dcce5056f88806e7a5","head":{"label":"resouer:tmsg-dev","ref":"tmsg-dev","sha":"2f970c5c557f72322f2d36dcce5056f88806e7a5","user":{"login":"resouer","id":1701782,"avatar_url":"https://avatars.githubusercontent.com/u/1701782?v=3","gravatar_id":"","url":"https://api.github.com/users/resouer","html_url":"https://github.com/resouer","followers_url":"https://api.github.com/users/resouer/followers","following_url":"https://api.github.com/users/resouer/following{/other_user}","gists_url":"https://api.github.com/users/resouer/gists{/gist_id}","starred_url":"https://api.github.com/users/resouer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/resouer/subscriptions","organizations_url":"https://api.github.com/users/resouer/orgs","repos_url":"https://api.github.com/users/resouer/repos","events_url":"https://api.github.com/users/resouer/events{/privacy}","received_events_url":"https://api.github.com/users/resouer/received_events","type":"User","site_admin":false},"repo":{"id":28023343,"name":"kubernetes","full_name":"resouer/kubernetes","owner":{"login":"resouer","id":1701782,"avatar_url":"https://avatars.githubusercontent.com/u/1701782?v=3","gravatar_id":"","url":"https://api.github.com/users/resouer","html_url":"https://github.com/resouer","followers_url":"https://api.github.com/users/resouer/followers","following_url":"https://api.github.com/users/resouer/following{/other_user}","gists_url":"https://api.github.com/users/resouer/gists{/gist_id}","starred_url":"https://api.github.com/users/resouer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/resouer/subscriptions","organizations_url":"https://api.github.com/users/resouer/orgs","repos_url":"https://api.github.com/users/resouer/repos","events_url":"https://api.github.com/users/resouer/events{/privacy}","received_events_url":"https://api.github.com/users/resouer/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/resouer/kubernetes","description":"Container Cluster Manager","fork":true,"url":"https://api.github.com/repos/resouer/kubernetes","forks_url":"https://api.github.com/repos/resouer/kubernetes/forks","keys_url":"https://api.github.com/repos/resouer/kubernetes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/resouer/kubernetes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/resouer/kubernetes/teams","hooks_url":"https://api.github.com/repos/resouer/kubernetes/hooks","issue_events_url":"https://api.github.com/repos/resouer/kubernetes/issues/events{/number}","events_url":"https://api.github.com/repos/resouer/kubernetes/events","assignees_url":"https://api.github.com/repos/resouer/kubernetes/assignees{/user}","branches_url":"https://api.github.com/repos/resouer/kubernetes/branches{/branch}","tags_url":"https://api.github.com/repos/resouer/kubernetes/tags","blobs_url":"https://api.github.com/repos/resouer/kubernetes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/resouer/kubernetes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/resouer/kubernetes/git/refs{/sha}","trees_url":"https://api.github.com/repos/resouer/kubernetes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/resouer/kubernetes/statuses/{sha}","languages_url":"https://api.github.com/repos/resouer/kubernetes/languages","stargazers_url":"https://api.github.com/repos/resouer/kubernetes/stargazers","contributors_url":"https://api.github.com/repos/resouer/kubernetes/contributors","subscribers_url":"https://api.github.com/repos/resouer/kubernetes/subscribers","subscription_url":"https://api.github.com/repos/resouer/kubernetes/subscription","commits_url":"https://api.github.com/repos/resouer/kubernetes/commits{/sha}","git_commits_url":"https://api.github.com/repos/resouer/kubernetes/git/commits{/sha}","comments_url":"https://api.github.com/repos/resouer/kubernetes/comments{/number}","issue_comment_url":"https://api.github.com/repos/resouer/kubernetes/issues/comments{/number}","contents_url":"https://api.github.com/repos/resouer/kubernetes/contents/{+path}","compare_url":"https://api.github.com/repos/resouer/kubernetes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/resouer/kubernetes/merges","archive_url":"https://api.github.com/repos/resouer/kubernetes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/resouer/kubernetes/downloads","issues_url":"https://api.github.com/repos/resouer/kubernetes/issues{/number}","pulls_url":"https://api.github.com/repos/resouer/kubernetes/pulls{/number}","milestones_url":"https://api.github.com/repos/resouer/kubernetes/milestones{/number}","notifications_url":"https://api.github.com/repos/resouer/kubernetes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/resouer/kubernetes/labels{/name}","releases_url":"https://api.github.com/repos/resouer/kubernetes/releases{/id}","deployments_url":"https://api.github.com/repos/resouer/kubernetes/deployments","created_at":"2014-12-15T06:15:28Z","updated_at":"2016-01-11T07:18:05Z","pushed_at":"2016-04-24T09:05:54Z","git_url":"git://github.com/resouer/kubernetes.git","ssh_url":"git@github.com:resouer/kubernetes.git","clone_url":"https://github.com/resouer/kubernetes.git","svn_url":"https://github.com/resouer/kubernetes","homepage":null,"size":181848,"stargazers_count":1,"watchers_count":1,"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":1,"default_branch":"master"}},"base":{"label":"hyperhq:master","ref":"master","sha":"780e52d0ead7e99a2f475188bea9844270b86650","user":{"login":"hyperhq","id":12324138,"avatar_url":"https://avatars.githubusercontent.com/u/12324138?v=3","gravatar_id":"","url":"https://api.github.com/users/hyperhq","html_url":"https://github.com/hyperhq","followers_url":"https://api.github.com/users/hyperhq/followers","following_url":"https://api.github.com/users/hyperhq/following{/other_user}","gists_url":"https://api.github.com/users/hyperhq/gists{/gist_id}","starred_url":"https://api.github.com/users/hyperhq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hyperhq/subscriptions","organizations_url":"https://api.github.com/users/hyperhq/orgs","repos_url":"https://api.github.com/users/hyperhq/repos","events_url":"https://api.github.com/users/hyperhq/events{/privacy}","received_events_url":"https://api.github.com/users/hyperhq/received_events","type":"Organization","site_admin":false},"repo":{"id":40957340,"name":"hypernetes","full_name":"hyperhq/hypernetes","owner":{"login":"hyperhq","id":12324138,"avatar_url":"https://avatars.githubusercontent.com/u/12324138?v=3","gravatar_id":"","url":"https://api.github.com/users/hyperhq","html_url":"https://github.com/hyperhq","followers_url":"https://api.github.com/users/hyperhq/followers","following_url":"https://api.github.com/users/hyperhq/following{/other_user}","gists_url":"https://api.github.com/users/hyperhq/gists{/gist_id}","starred_url":"https://api.github.com/users/hyperhq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hyperhq/subscriptions","organizations_url":"https://api.github.com/users/hyperhq/orgs","repos_url":"https://api.github.com/users/hyperhq/repos","events_url":"https://api.github.com/users/hyperhq/events{/privacy}","received_events_url":"https://api.github.com/users/hyperhq/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hyperhq/hypernetes","description":"The multi-tenant Kubernetes distro","fork":true,"url":"https://api.github.com/repos/hyperhq/hypernetes","forks_url":"https://api.github.com/repos/hyperhq/hypernetes/forks","keys_url":"https://api.github.com/repos/hyperhq/hypernetes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hyperhq/hypernetes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hyperhq/hypernetes/teams","hooks_url":"https://api.github.com/repos/hyperhq/hypernetes/hooks","issue_events_url":"https://api.github.com/repos/hyperhq/hypernetes/issues/events{/number}","events_url":"https://api.github.com/repos/hyperhq/hypernetes/events","assignees_url":"https://api.github.com/repos/hyperhq/hypernetes/assignees{/user}","branches_url":"https://api.github.com/repos/hyperhq/hypernetes/branches{/branch}","tags_url":"https://api.github.com/repos/hyperhq/hypernetes/tags","blobs_url":"https://api.github.com/repos/hyperhq/hypernetes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hyperhq/hypernetes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hyperhq/hypernetes/git/refs{/sha}","trees_url":"https://api.github.com/repos/hyperhq/hypernetes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hyperhq/hypernetes/statuses/{sha}","languages_url":"https://api.github.com/repos/hyperhq/hypernetes/languages","stargazers_url":"https://api.github.com/repos/hyperhq/hypernetes/stargazers","contributors_url":"https://api.github.com/repos/hyperhq/hypernetes/contributors","subscribers_url":"https://api.github.com/repos/hyperhq/hypernetes/subscribers","subscription_url":"https://api.github.com/repos/hyperhq/hypernetes/subscription","commits_url":"https://api.github.com/repos/hyperhq/hypernetes/commits{/sha}","git_commits_url":"https://api.github.com/repos/hyperhq/hypernetes/git/commits{/sha}","comments_url":"https://api.github.com/repos/hyperhq/hypernetes/comments{/number}","issue_comment_url":"https://api.github.com/repos/hyperhq/hypernetes/issues/comments{/number}","contents_url":"https://api.github.com/repos/hyperhq/hypernetes/contents/{+path}","compare_url":"https://api.github.com/repos/hyperhq/hypernetes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hyperhq/hypernetes/merges","archive_url":"https://api.github.com/repos/hyperhq/hypernetes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hyperhq/hypernetes/downloads","issues_url":"https://api.github.com/repos/hyperhq/hypernetes/issues{/number}","pulls_url":"https://api.github.com/repos/hyperhq/hypernetes/pulls{/number}","milestones_url":"https://api.github.com/repos/hyperhq/hypernetes/milestones{/number}","notifications_url":"https://api.github.com/repos/hyperhq/hypernetes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hyperhq/hypernetes/labels{/name}","releases_url":"https://api.github.com/repos/hyperhq/hypernetes/releases{/id}","deployments_url":"https://api.github.com/repos/hyperhq/hypernetes/deployments","created_at":"2015-08-18T07:27:37Z","updated_at":"2016-04-23T11:41:21Z","pushed_at":"2016-04-24T11:30:12Z","git_url":"git://github.com/hyperhq/hypernetes.git","ssh_url":"git@github.com:hyperhq/hypernetes.git","clone_url":"https://github.com/hyperhq/hypernetes.git","svn_url":"https://github.com/hyperhq/hypernetes","homepage":"http://hypernetes.com","size":177442,"stargazers_count":219,"watchers_count":219,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":14,"mirror_url":null,"open_issues_count":1,"forks":14,"open_issues":1,"watchers":219,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hyperhq/hypernetes/pulls/100"},"html":{"href":"https://github.com/hyperhq/hypernetes/pull/100"},"issue":{"href":"https://api.github.com/repos/hyperhq/hypernetes/issues/100"},"comments":{"href":"https://api.github.com/repos/hyperhq/hypernetes/issues/100/comments"},"review_comments":{"href":"https://api.github.com/repos/hyperhq/hypernetes/pulls/100/comments"},"review_comment":{"href":"https://api.github.com/repos/hyperhq/hypernetes/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hyperhq/hypernetes/pulls/100/commits"},"statuses":{"href":"https://api.github.com/repos/hyperhq/hypernetes/statuses/2f970c5c557f72322f2d36dcce5056f88806e7a5"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"feiskyer","id":676637,"avatar_url":"https://avatars.githubusercontent.com/u/676637?v=3","gravatar_id":"","url":"https://api.github.com/users/feiskyer","html_url":"https://github.com/feiskyer","followers_url":"https://api.github.com/users/feiskyer/followers","following_url":"https://api.github.com/users/feiskyer/following{/other_user}","gists_url":"https://api.github.com/users/feiskyer/gists{/gist_id}","starred_url":"https://api.github.com/users/feiskyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/feiskyer/subscriptions","organizations_url":"https://api.github.com/users/feiskyer/orgs","repos_url":"https://api.github.com/users/feiskyer/repos","events_url":"https://api.github.com/users/feiskyer/events{/privacy}","received_events_url":"https://api.github.com/users/feiskyer/received_events","type":"User","site_admin":false},"comments":1,"review_comments":3,"commits":2,"additions":72,"deletions":13,"changed_files":1}}