{"action":"created","comment":{"url":"https://api.github.com/repos/coreos/rkt/pulls/comments/28621555","id":28621555,"diff_hunk":"@@ -14,10 +14,11 @@ For systemd based distributions, it also supports the [systemd socket activation\n If using socket activation, keep the socket named /run/rkt/metadata-svc.sock as `rkt run` uses this name during registration.\n Please note that when started under socket activation, the metadata service will not remove the socket on exit.\n Use `RemoveOnStop` directive in .socket file to cleanup.\n+`rkt-metadata.service` and `rkt-metadata.socket` are available in the `dist/init/systemd` directory of rkt project.\n \n In addition to listening on a Unix socket, the metadata service will also listen on a TCP port.\n When contacting the metadata service, the apps utilize this port.\n-In order to avoid exposing host IP to the pods, the metadata service installs an iptables rule to redirect traffic destined for 169.254.169.255:80 to itself.\n+The IP and port of the metadata service are passed by rkt to pods via AC_METADATA_URL environment variable.","path":"Documentation/metadata-service.md","position":9,"original_position":9,"commit_id":"5ae147cac671aa07f95546cf0a3a622f2768f5ee","original_commit_id":"5ae147cac671aa07f95546cf0a3a622f2768f5ee","user":{"login":"jonboulle","id":2601015,"avatar_url":"https://avatars.githubusercontent.com/u/2601015?v=3","gravatar_id":"","url":"https://api.github.com/users/jonboulle","html_url":"https://github.com/jonboulle","followers_url":"https://api.github.com/users/jonboulle/followers","following_url":"https://api.github.com/users/jonboulle/following{/other_user}","gists_url":"https://api.github.com/users/jonboulle/gists{/gist_id}","starred_url":"https://api.github.com/users/jonboulle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonboulle/subscriptions","organizations_url":"https://api.github.com/users/jonboulle/orgs","repos_url":"https://api.github.com/users/jonboulle/repos","events_url":"https://api.github.com/users/jonboulle/events{/privacy}","received_events_url":"https://api.github.com/users/jonboulle/received_events","type":"User","site_admin":false},"body":"```\r\nvia the `AC_METADATA_URL` \r\n```","created_at":"2015-04-17T19:06:22Z","updated_at":"2015-04-17T19:06:22Z","html_url":"https://github.com/coreos/rkt/pull/768#discussion_r28621555","pull_request_url":"https://api.github.com/repos/coreos/rkt/pulls/768","_links":{"self":{"href":"https://api.github.com/repos/coreos/rkt/pulls/comments/28621555"},"html":{"href":"https://github.com/coreos/rkt/pull/768#discussion_r28621555"},"pull_request":{"href":"https://api.github.com/repos/coreos/rkt/pulls/768"}}},"pull_request":{"url":"https://api.github.com/repos/coreos/rkt/pulls/768","id":33378408,"html_url":"https://github.com/coreos/rkt/pull/768","diff_url":"https://github.com/coreos/rkt/pull/768.diff","patch_url":"https://github.com/coreos/rkt/pull/768.patch","issue_url":"https://api.github.com/repos/coreos/rkt/issues/768","number":768,"state":"open","locked":false,"title":"docs: no more iptables NAT and mention systemd units","user":{"login":"eyakubovich","id":3586053,"avatar_url":"https://avatars.githubusercontent.com/u/3586053?v=3","gravatar_id":"","url":"https://api.github.com/users/eyakubovich","html_url":"https://github.com/eyakubovich","followers_url":"https://api.github.com/users/eyakubovich/followers","following_url":"https://api.github.com/users/eyakubovich/following{/other_user}","gists_url":"https://api.github.com/users/eyakubovich/gists{/gist_id}","starred_url":"https://api.github.com/users/eyakubovich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eyakubovich/subscriptions","organizations_url":"https://api.github.com/users/eyakubovich/orgs","repos_url":"https://api.github.com/users/eyakubovich/repos","events_url":"https://api.github.com/users/eyakubovich/events{/privacy}","received_events_url":"https://api.github.com/users/eyakubovich/received_events","type":"User","site_admin":false},"body":"Fixes #39","created_at":"2015-04-15T17:39:11Z","updated_at":"2015-04-17T19:06:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"490533c89f24e4ad95ad5f3914cb97756357bc1c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/coreos/rkt/pulls/768/commits","review_comments_url":"https://api.github.com/repos/coreos/rkt/pulls/768/comments","review_comment_url":"https://api.github.com/repos/coreos/rkt/pulls/comments{/number}","comments_url":"https://api.github.com/repos/coreos/rkt/issues/768/comments","statuses_url":"https://api.github.com/repos/coreos/rkt/statuses/5ae147cac671aa07f95546cf0a3a622f2768f5ee","head":{"label":"eyakubovich:mdsvc-docs","ref":"mdsvc-docs","sha":"5ae147cac671aa07f95546cf0a3a622f2768f5ee","user":{"login":"eyakubovich","id":3586053,"avatar_url":"https://avatars.githubusercontent.com/u/3586053?v=3","gravatar_id":"","url":"https://api.github.com/users/eyakubovich","html_url":"https://github.com/eyakubovich","followers_url":"https://api.github.com/users/eyakubovich/followers","following_url":"https://api.github.com/users/eyakubovich/following{/other_user}","gists_url":"https://api.github.com/users/eyakubovich/gists{/gist_id}","starred_url":"https://api.github.com/users/eyakubovich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eyakubovich/subscriptions","organizations_url":"https://api.github.com/users/eyakubovich/orgs","repos_url":"https://api.github.com/users/eyakubovich/repos","events_url":"https://api.github.com/users/eyakubovich/events{/privacy}","received_events_url":"https://api.github.com/users/eyakubovich/received_events","type":"User","site_admin":false},"repo":{"id":27403166,"name":"rkt","full_name":"eyakubovich/rkt","owner":{"login":"eyakubovich","id":3586053,"avatar_url":"https://avatars.githubusercontent.com/u/3586053?v=3","gravatar_id":"","url":"https://api.github.com/users/eyakubovich","html_url":"https://github.com/eyakubovich","followers_url":"https://api.github.com/users/eyakubovich/followers","following_url":"https://api.github.com/users/eyakubovich/following{/other_user}","gists_url":"https://api.github.com/users/eyakubovich/gists{/gist_id}","starred_url":"https://api.github.com/users/eyakubovich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eyakubovich/subscriptions","organizations_url":"https://api.github.com/users/eyakubovich/orgs","repos_url":"https://api.github.com/users/eyakubovich/repos","events_url":"https://api.github.com/users/eyakubovich/events{/privacy}","received_events_url":"https://api.github.com/users/eyakubovich/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/eyakubovich/rkt","description":"App Container runtime","fork":true,"url":"https://api.github.com/repos/eyakubovich/rkt","forks_url":"https://api.github.com/repos/eyakubovich/rkt/forks","keys_url":"https://api.github.com/repos/eyakubovich/rkt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eyakubovich/rkt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eyakubovich/rkt/teams","hooks_url":"https://api.github.com/repos/eyakubovich/rkt/hooks","issue_events_url":"https://api.github.com/repos/eyakubovich/rkt/issues/events{/number}","events_url":"https://api.github.com/repos/eyakubovich/rkt/events","assignees_url":"https://api.github.com/repos/eyakubovich/rkt/assignees{/user}","branches_url":"https://api.github.com/repos/eyakubovich/rkt/branches{/branch}","tags_url":"https://api.github.com/repos/eyakubovich/rkt/tags","blobs_url":"https://api.github.com/repos/eyakubovich/rkt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eyakubovich/rkt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eyakubovich/rkt/git/refs{/sha}","trees_url":"https://api.github.com/repos/eyakubovich/rkt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eyakubovich/rkt/statuses/{sha}","languages_url":"https://api.github.com/repos/eyakubovich/rkt/languages","stargazers_url":"https://api.github.com/repos/eyakubovich/rkt/stargazers","contributors_url":"https://api.github.com/repos/eyakubovich/rkt/contributors","subscribers_url":"https://api.github.com/repos/eyakubovich/rkt/subscribers","subscription_url":"https://api.github.com/repos/eyakubovich/rkt/subscription","commits_url":"https://api.github.com/repos/eyakubovich/rkt/commits{/sha}","git_commits_url":"https://api.github.com/repos/eyakubovich/rkt/git/commits{/sha}","comments_url":"https://api.github.com/repos/eyakubovich/rkt/comments{/number}","issue_comment_url":"https://api.github.com/repos/eyakubovich/rkt/issues/comments{/number}","contents_url":"https://api.github.com/repos/eyakubovich/rkt/contents/{+path}","compare_url":"https://api.github.com/repos/eyakubovich/rkt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eyakubovich/rkt/merges","archive_url":"https://api.github.com/repos/eyakubovich/rkt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eyakubovich/rkt/downloads","issues_url":"https://api.github.com/repos/eyakubovich/rkt/issues{/number}","pulls_url":"https://api.github.com/repos/eyakubovich/rkt/pulls{/number}","milestones_url":"https://api.github.com/repos/eyakubovich/rkt/milestones{/number}","notifications_url":"https://api.github.com/repos/eyakubovich/rkt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eyakubovich/rkt/labels{/name}","releases_url":"https://api.github.com/repos/eyakubovich/rkt/releases{/id}","created_at":"2014-12-01T22:24:31Z","updated_at":"2015-04-06T18:27:21Z","pushed_at":"2015-04-15T21:29:22Z","git_url":"git://github.com/eyakubovich/rkt.git","ssh_url":"git@github.com:eyakubovich/rkt.git","clone_url":"https://github.com/eyakubovich/rkt.git","svn_url":"https://github.com/eyakubovich/rkt","homepage":"","size":7410,"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":"coreos:master","ref":"master","sha":"bd57b7de1d22d0bc3b40ab9b10b847c60caba095","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":26509369,"name":"rkt","full_name":"coreos/rkt","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/rkt","description":"App Container runtime","fork":false,"url":"https://api.github.com/repos/coreos/rkt","forks_url":"https://api.github.com/repos/coreos/rkt/forks","keys_url":"https://api.github.com/repos/coreos/rkt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/coreos/rkt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/coreos/rkt/teams","hooks_url":"https://api.github.com/repos/coreos/rkt/hooks","issue_events_url":"https://api.github.com/repos/coreos/rkt/issues/events{/number}","events_url":"https://api.github.com/repos/coreos/rkt/events","assignees_url":"https://api.github.com/repos/coreos/rkt/assignees{/user}","branches_url":"https://api.github.com/repos/coreos/rkt/branches{/branch}","tags_url":"https://api.github.com/repos/coreos/rkt/tags","blobs_url":"https://api.github.com/repos/coreos/rkt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/coreos/rkt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/coreos/rkt/git/refs{/sha}","trees_url":"https://api.github.com/repos/coreos/rkt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/coreos/rkt/statuses/{sha}","languages_url":"https://api.github.com/repos/coreos/rkt/languages","stargazers_url":"https://api.github.com/repos/coreos/rkt/stargazers","contributors_url":"https://api.github.com/repos/coreos/rkt/contributors","subscribers_url":"https://api.github.com/repos/coreos/rkt/subscribers","subscription_url":"https://api.github.com/repos/coreos/rkt/subscription","commits_url":"https://api.github.com/repos/coreos/rkt/commits{/sha}","git_commits_url":"https://api.github.com/repos/coreos/rkt/git/commits{/sha}","comments_url":"https://api.github.com/repos/coreos/rkt/comments{/number}","issue_comment_url":"https://api.github.com/repos/coreos/rkt/issues/comments{/number}","contents_url":"https://api.github.com/repos/coreos/rkt/contents/{+path}","compare_url":"https://api.github.com/repos/coreos/rkt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/coreos/rkt/merges","archive_url":"https://api.github.com/repos/coreos/rkt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/coreos/rkt/downloads","issues_url":"https://api.github.com/repos/coreos/rkt/issues{/number}","pulls_url":"https://api.github.com/repos/coreos/rkt/pulls{/number}","milestones_url":"https://api.github.com/repos/coreos/rkt/milestones{/number}","notifications_url":"https://api.github.com/repos/coreos/rkt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/coreos/rkt/labels{/name}","releases_url":"https://api.github.com/repos/coreos/rkt/releases{/id}","created_at":"2014-11-11T23:13:18Z","updated_at":"2015-04-17T18:53:40Z","pushed_at":"2015-04-17T18:53:39Z","git_url":"git://github.com/coreos/rkt.git","ssh_url":"git@github.com:coreos/rkt.git","clone_url":"https://github.com/coreos/rkt.git","svn_url":"https://github.com/coreos/rkt","homepage":"","size":12834,"stargazers_count":3797,"watchers_count":3797,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":284,"mirror_url":null,"open_issues_count":88,"forks":284,"open_issues":88,"watchers":3797,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/coreos/rkt/pulls/768"},"html":{"href":"https://github.com/coreos/rkt/pull/768"},"issue":{"href":"https://api.github.com/repos/coreos/rkt/issues/768"},"comments":{"href":"https://api.github.com/repos/coreos/rkt/issues/768/comments"},"review_comments":{"href":"https://api.github.com/repos/coreos/rkt/pulls/768/comments"},"review_comment":{"href":"https://api.github.com/repos/coreos/rkt/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/coreos/rkt/pulls/768/commits"},"statuses":{"href":"https://api.github.com/repos/coreos/rkt/statuses/5ae147cac671aa07f95546cf0a3a622f2768f5ee"}}}}