{"action":"created","comment":{"url":"https://api.github.com/repos/projectcalico/calico-docker/pulls/comments/42027498","id":42027498,"diff_hunk":"@@ -0,0 +1,34 @@\n+# Integrating the Calico Network Plugin with rkt\n+\n+This guide will describe the configuration required to use the Calico network plugin in your rkt deployment.\n+\n+## Using rkt Plugins\n+\n+The CoreOS [documentation](https://github.com/coreos/rkt/blob/master/Documentation/networking.md) for Network Plugins will walk you through the basics of setting up networking in rkt.\n+\n+## Requirements\n+\n+* A working [etcd](https://github.com/coreos/etcd) service\n+* A build of `calicoctl` after [projectcalico/calico-docker@10460cc405](https://github.com/projectcalico/calico-docker/commit/10460cc405f5aa4bc9ccb1fcaf8760088ae1ebf9)\n+* Though Calico is capable of networking rkt containers, our core software is distributed and deployed in a [docker container](https://github.com/projectcalico/calico-docker/blob/master/docs/getting-started/default-networking/Demonstration.md). While we work on native rkt support, you will need to run Calico in Docker before starting your rkt containers. This can be easily done wtih `calicoctl` by running the following command: `sudo calicoctl node --ip=<IP> --rkt`\n+\n+## Installing\n+\n+* Running `calicoctl node` with the `--rkt` flag will start the calico/node process and automatically install the plugin for you. Alternatively you can download the [plugin binary](https://github.com/projectcalico/calico-rkt/releases/) yourself and move it to the rkt plugin directory.\n+```\n+chmod +x calico_rkt\n+sudo mv -f ./calico_rkt /usr/lib/rkt/plugins/net/calico\n+```\n+\n+## Building the plugin locally\n+\n+To build the Calico Networking Plugin for rkt locally, clone this repository and run `make`.  This will build the binary, as well as run the unit tests.  To just build the binary, with no tests, run `make binary`.  To only run the unit tests, simply run `make ut`.\n+\n+## Networking Behavior\n+\n+In rkt deployments, Calico will allocate an available IP within the specified subnet pool and enforce the default Calico networking rules on containers. The default behavior is to allow traffic only from other containers in the network. For each network with a unique `\"name\"` parameter (as shown above), Calico will create a single profile that will be applied to each container added to that network.","path":"docs/rkt/README.md","position":29,"original_position":29,"commit_id":"818944a60b1c802c4b0119803989d4a4fd7c7e9c","original_commit_id":"818944a60b1c802c4b0119803989d4a4fd7c7e9c","user":{"login":"djosborne","id":3444362,"avatar_url":"https://avatars.githubusercontent.com/u/3444362?v=3","gravatar_id":"","url":"https://api.github.com/users/djosborne","html_url":"https://github.com/djosborne","followers_url":"https://api.github.com/users/djosborne/followers","following_url":"https://api.github.com/users/djosborne/following{/other_user}","gists_url":"https://api.github.com/users/djosborne/gists{/gist_id}","starred_url":"https://api.github.com/users/djosborne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djosborne/subscriptions","organizations_url":"https://api.github.com/users/djosborne/orgs","repos_url":"https://api.github.com/users/djosborne/repos","events_url":"https://api.github.com/users/djosborne/events{/privacy}","received_events_url":"https://api.github.com/users/djosborne/received_events","type":"User","site_admin":false},"body":"Its not clear to me what the \"specified subnet pool\" refers to in this context. Is it the default calico pool added at launch?","created_at":"2015-10-14T17:50:23Z","updated_at":"2015-10-14T17:50:23Z","html_url":"https://github.com/projectcalico/calico-docker/pull/529#discussion_r42027498","pull_request_url":"https://api.github.com/repos/projectcalico/calico-docker/pulls/529","_links":{"self":{"href":"https://api.github.com/repos/projectcalico/calico-docker/pulls/comments/42027498"},"html":{"href":"https://github.com/projectcalico/calico-docker/pull/529#discussion_r42027498"},"pull_request":{"href":"https://api.github.com/repos/projectcalico/calico-docker/pulls/529"}}},"pull_request":{"url":"https://api.github.com/repos/projectcalico/calico-docker/pulls/529","id":47684132,"html_url":"https://github.com/projectcalico/calico-docker/pull/529","diff_url":"https://github.com/projectcalico/calico-docker/pull/529.diff","patch_url":"https://github.com/projectcalico/calico-docker/pull/529.patch","issue_url":"https://api.github.com/repos/projectcalico/calico-docker/issues/529","number":529,"state":"open","locked":false,"title":"Rkt docs","user":{"login":"L-MA","id":9704719,"avatar_url":"https://avatars.githubusercontent.com/u/9704719?v=3","gravatar_id":"","url":"https://api.github.com/users/L-MA","html_url":"https://github.com/L-MA","followers_url":"https://api.github.com/users/L-MA/followers","following_url":"https://api.github.com/users/L-MA/following{/other_user}","gists_url":"https://api.github.com/users/L-MA/gists{/gist_id}","starred_url":"https://api.github.com/users/L-MA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/L-MA/subscriptions","organizations_url":"https://api.github.com/users/L-MA/orgs","repos_url":"https://api.github.com/users/L-MA/repos","events_url":"https://api.github.com/users/L-MA/events{/privacy}","received_events_url":"https://api.github.com/users/L-MA/received_events","type":"User","site_admin":false},"body":"Moving the rkt installation/configuration doc from calico-rkt to calico-docker","created_at":"2015-10-14T16:41:08Z","updated_at":"2015-10-14T17:50:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"81643853fbda5bf507254d3e8b798a20ccecdec0","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/projectcalico/calico-docker/pulls/529/commits","review_comments_url":"https://api.github.com/repos/projectcalico/calico-docker/pulls/529/comments","review_comment_url":"https://api.github.com/repos/projectcalico/calico-docker/pulls/comments{/number}","comments_url":"https://api.github.com/repos/projectcalico/calico-docker/issues/529/comments","statuses_url":"https://api.github.com/repos/projectcalico/calico-docker/statuses/818944a60b1c802c4b0119803989d4a4fd7c7e9c","head":{"label":"L-MA:rkt-docs","ref":"rkt-docs","sha":"818944a60b1c802c4b0119803989d4a4fd7c7e9c","user":{"login":"L-MA","id":9704719,"avatar_url":"https://avatars.githubusercontent.com/u/9704719?v=3","gravatar_id":"","url":"https://api.github.com/users/L-MA","html_url":"https://github.com/L-MA","followers_url":"https://api.github.com/users/L-MA/followers","following_url":"https://api.github.com/users/L-MA/following{/other_user}","gists_url":"https://api.github.com/users/L-MA/gists{/gist_id}","starred_url":"https://api.github.com/users/L-MA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/L-MA/subscriptions","organizations_url":"https://api.github.com/users/L-MA/orgs","repos_url":"https://api.github.com/users/L-MA/repos","events_url":"https://api.github.com/users/L-MA/events{/privacy}","received_events_url":"https://api.github.com/users/L-MA/received_events","type":"User","site_admin":false},"repo":{"id":38708448,"name":"calico-docker","full_name":"L-MA/calico-docker","owner":{"login":"L-MA","id":9704719,"avatar_url":"https://avatars.githubusercontent.com/u/9704719?v=3","gravatar_id":"","url":"https://api.github.com/users/L-MA","html_url":"https://github.com/L-MA","followers_url":"https://api.github.com/users/L-MA/followers","following_url":"https://api.github.com/users/L-MA/following{/other_user}","gists_url":"https://api.github.com/users/L-MA/gists{/gist_id}","starred_url":"https://api.github.com/users/L-MA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/L-MA/subscriptions","organizations_url":"https://api.github.com/users/L-MA/orgs","repos_url":"https://api.github.com/users/L-MA/repos","events_url":"https://api.github.com/users/L-MA/events{/privacy}","received_events_url":"https://api.github.com/users/L-MA/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/L-MA/calico-docker","description":"Docker version of Project Calico","fork":true,"url":"https://api.github.com/repos/L-MA/calico-docker","forks_url":"https://api.github.com/repos/L-MA/calico-docker/forks","keys_url":"https://api.github.com/repos/L-MA/calico-docker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/L-MA/calico-docker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/L-MA/calico-docker/teams","hooks_url":"https://api.github.com/repos/L-MA/calico-docker/hooks","issue_events_url":"https://api.github.com/repos/L-MA/calico-docker/issues/events{/number}","events_url":"https://api.github.com/repos/L-MA/calico-docker/events","assignees_url":"https://api.github.com/repos/L-MA/calico-docker/assignees{/user}","branches_url":"https://api.github.com/repos/L-MA/calico-docker/branches{/branch}","tags_url":"https://api.github.com/repos/L-MA/calico-docker/tags","blobs_url":"https://api.github.com/repos/L-MA/calico-docker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/L-MA/calico-docker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/L-MA/calico-docker/git/refs{/sha}","trees_url":"https://api.github.com/repos/L-MA/calico-docker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/L-MA/calico-docker/statuses/{sha}","languages_url":"https://api.github.com/repos/L-MA/calico-docker/languages","stargazers_url":"https://api.github.com/repos/L-MA/calico-docker/stargazers","contributors_url":"https://api.github.com/repos/L-MA/calico-docker/contributors","subscribers_url":"https://api.github.com/repos/L-MA/calico-docker/subscribers","subscription_url":"https://api.github.com/repos/L-MA/calico-docker/subscription","commits_url":"https://api.github.com/repos/L-MA/calico-docker/commits{/sha}","git_commits_url":"https://api.github.com/repos/L-MA/calico-docker/git/commits{/sha}","comments_url":"https://api.github.com/repos/L-MA/calico-docker/comments{/number}","issue_comment_url":"https://api.github.com/repos/L-MA/calico-docker/issues/comments{/number}","contents_url":"https://api.github.com/repos/L-MA/calico-docker/contents/{+path}","compare_url":"https://api.github.com/repos/L-MA/calico-docker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/L-MA/calico-docker/merges","archive_url":"https://api.github.com/repos/L-MA/calico-docker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/L-MA/calico-docker/downloads","issues_url":"https://api.github.com/repos/L-MA/calico-docker/issues{/number}","pulls_url":"https://api.github.com/repos/L-MA/calico-docker/pulls{/number}","milestones_url":"https://api.github.com/repos/L-MA/calico-docker/milestones{/number}","notifications_url":"https://api.github.com/repos/L-MA/calico-docker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/L-MA/calico-docker/labels{/name}","releases_url":"https://api.github.com/repos/L-MA/calico-docker/releases{/id}","created_at":"2015-07-07T18:57:37Z","updated_at":"2015-07-07T18:57:37Z","pushed_at":"2015-10-14T16:36:57Z","git_url":"git://github.com/L-MA/calico-docker.git","ssh_url":"git@github.com:L-MA/calico-docker.git","clone_url":"https://github.com/L-MA/calico-docker.git","svn_url":"https://github.com/L-MA/calico-docker","homepage":"http://www.projectcalico.org","size":13672,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"projectcalico:master","ref":"master","sha":"bd0fa4f5e55e1238cde51b3a9046e11513e9d80b","user":{"login":"projectcalico","id":12304728,"avatar_url":"https://avatars.githubusercontent.com/u/12304728?v=3","gravatar_id":"","url":"https://api.github.com/users/projectcalico","html_url":"https://github.com/projectcalico","followers_url":"https://api.github.com/users/projectcalico/followers","following_url":"https://api.github.com/users/projectcalico/following{/other_user}","gists_url":"https://api.github.com/users/projectcalico/gists{/gist_id}","starred_url":"https://api.github.com/users/projectcalico/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/projectcalico/subscriptions","organizations_url":"https://api.github.com/users/projectcalico/orgs","repos_url":"https://api.github.com/users/projectcalico/repos","events_url":"https://api.github.com/users/projectcalico/events{/privacy}","received_events_url":"https://api.github.com/users/projectcalico/received_events","type":"Organization","site_admin":false},"repo":{"id":29629333,"name":"calico-docker","full_name":"projectcalico/calico-docker","owner":{"login":"projectcalico","id":12304728,"avatar_url":"https://avatars.githubusercontent.com/u/12304728?v=3","gravatar_id":"","url":"https://api.github.com/users/projectcalico","html_url":"https://github.com/projectcalico","followers_url":"https://api.github.com/users/projectcalico/followers","following_url":"https://api.github.com/users/projectcalico/following{/other_user}","gists_url":"https://api.github.com/users/projectcalico/gists{/gist_id}","starred_url":"https://api.github.com/users/projectcalico/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/projectcalico/subscriptions","organizations_url":"https://api.github.com/users/projectcalico/orgs","repos_url":"https://api.github.com/users/projectcalico/repos","events_url":"https://api.github.com/users/projectcalico/events{/privacy}","received_events_url":"https://api.github.com/users/projectcalico/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/projectcalico/calico-docker","description":"Project Calico deployed in a Docker container","fork":false,"url":"https://api.github.com/repos/projectcalico/calico-docker","forks_url":"https://api.github.com/repos/projectcalico/calico-docker/forks","keys_url":"https://api.github.com/repos/projectcalico/calico-docker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/projectcalico/calico-docker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/projectcalico/calico-docker/teams","hooks_url":"https://api.github.com/repos/projectcalico/calico-docker/hooks","issue_events_url":"https://api.github.com/repos/projectcalico/calico-docker/issues/events{/number}","events_url":"https://api.github.com/repos/projectcalico/calico-docker/events","assignees_url":"https://api.github.com/repos/projectcalico/calico-docker/assignees{/user}","branches_url":"https://api.github.com/repos/projectcalico/calico-docker/branches{/branch}","tags_url":"https://api.github.com/repos/projectcalico/calico-docker/tags","blobs_url":"https://api.github.com/repos/projectcalico/calico-docker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/projectcalico/calico-docker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/projectcalico/calico-docker/git/refs{/sha}","trees_url":"https://api.github.com/repos/projectcalico/calico-docker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/projectcalico/calico-docker/statuses/{sha}","languages_url":"https://api.github.com/repos/projectcalico/calico-docker/languages","stargazers_url":"https://api.github.com/repos/projectcalico/calico-docker/stargazers","contributors_url":"https://api.github.com/repos/projectcalico/calico-docker/contributors","subscribers_url":"https://api.github.com/repos/projectcalico/calico-docker/subscribers","subscription_url":"https://api.github.com/repos/projectcalico/calico-docker/subscription","commits_url":"https://api.github.com/repos/projectcalico/calico-docker/commits{/sha}","git_commits_url":"https://api.github.com/repos/projectcalico/calico-docker/git/commits{/sha}","comments_url":"https://api.github.com/repos/projectcalico/calico-docker/comments{/number}","issue_comment_url":"https://api.github.com/repos/projectcalico/calico-docker/issues/comments{/number}","contents_url":"https://api.github.com/repos/projectcalico/calico-docker/contents/{+path}","compare_url":"https://api.github.com/repos/projectcalico/calico-docker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/projectcalico/calico-docker/merges","archive_url":"https://api.github.com/repos/projectcalico/calico-docker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/projectcalico/calico-docker/downloads","issues_url":"https://api.github.com/repos/projectcalico/calico-docker/issues{/number}","pulls_url":"https://api.github.com/repos/projectcalico/calico-docker/pulls{/number}","milestones_url":"https://api.github.com/repos/projectcalico/calico-docker/milestones{/number}","notifications_url":"https://api.github.com/repos/projectcalico/calico-docker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/projectcalico/calico-docker/labels{/name}","releases_url":"https://api.github.com/repos/projectcalico/calico-docker/releases{/id}","created_at":"2015-01-21T23:46:47Z","updated_at":"2015-10-13T08:29:57Z","pushed_at":"2015-10-14T17:42:08Z","git_url":"git://github.com/projectcalico/calico-docker.git","ssh_url":"git@github.com:projectcalico/calico-docker.git","clone_url":"https://github.com/projectcalico/calico-docker.git","svn_url":"https://github.com/projectcalico/calico-docker","homepage":"http://www.projectcalico.org","size":17671,"stargazers_count":163,"watchers_count":163,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":33,"mirror_url":null,"open_issues_count":30,"forks":33,"open_issues":30,"watchers":163,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/projectcalico/calico-docker/pulls/529"},"html":{"href":"https://github.com/projectcalico/calico-docker/pull/529"},"issue":{"href":"https://api.github.com/repos/projectcalico/calico-docker/issues/529"},"comments":{"href":"https://api.github.com/repos/projectcalico/calico-docker/issues/529/comments"},"review_comments":{"href":"https://api.github.com/repos/projectcalico/calico-docker/pulls/529/comments"},"review_comment":{"href":"https://api.github.com/repos/projectcalico/calico-docker/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/projectcalico/calico-docker/pulls/529/commits"},"statuses":{"href":"https://api.github.com/repos/projectcalico/calico-docker/statuses/818944a60b1c802c4b0119803989d4a4fd7c7e9c"}}}}