{"action":"created","comment":{"url":"https://api.github.com/repos/deis/deis/pulls/comments/35675379","id":35675379,"diff_hunk":"@@ -122,16 +122,49 @@ The Swarm Scheduler is now active. Commands such as ``deis destroy`` or\n To monitor Swarm Scheduler operations, watch the logs of the swarm-manager\n component, or spy on Docker events directly on the swarm-manager machine:\n \n+Kubernetes Scheduler\n+--------------------\n+\n+.. important::\n+\n+    The Kubernetes Scheduler is a technology preview and is not recommended for\n+    production use.\n+\n+`Kubernetes`_ orchestration system for docker containers:\n+\n+    Kubernetes provides APIs to manage, deploy and scale docker containers. Kubernetes deploys docker containers as `PODS`_,\n+    unique entity across a cluster. Containers inside a POD share the same namespaces. More information about `PODS`_.\n+\n+To run kubernetes on CoreOS requires `flannel`_ which provides subnet to each host for use with containers runtimes.\n+Deis repository provides a new user-data file to bootstrap CoreOs machines on the cluster with flannel.\n+\n+To test the Kubernetes Scheduler, first install and start the kubernetes components:\n+\n+.. code-block:: console\n+\n+    $deisctl install k8s && deisctl start k8s\n+\n+Then set the controller's ``schedulerModule`` to \"k8s\":\n+\n .. code-block:: console\n \n-    $ deisctl journal swarm-manager\n-    $ docker -H 172.17.8.102:2395 events\n-    2015-04-30T17:31 172.17.8.100:5000/hungry-variable:v5: (from  node:deis-01) pull\n-    2015-04-30T17:31 172.17.8.100:5000/hungry-variable:v5: (from  node:deis-02) pull\n-    2015-04-30T17:31 02a570: (from 172.17.8.100:5000/hungry-variable:v5 node:deis-01) create\n-    2015-04-30T17:31 02a570: (from 172.17.8.100:5000/hungry-variable:v5 node:deis-01) start\n-    2015-04-30T17:31 61e59c: (from 172.17.8.100:5000/hungry-variable:v5 node:deis-02) create\n-    2015-04-30T17:31 61e59c: (from 172.17.8.100:5000/hungry-variable:v5 node:deis-02) start\n+    $ deisctl config controller set schedulerModule=k8s\n+\n+The Kubernetes scheduler is now active. Commands such as ``deis destroy`` or\n+``deis scale web=9`` will use kubernetes ApiServer to manage app PODS.","path":"docs/customizing_deis/choosing-a-scheduler.rst","position":80,"original_position":80,"commit_id":"0575908fd35c15023a25d0bd5db8cdee6b536018","original_commit_id":"0575908fd35c15023a25d0bd5db8cdee6b536018","user":{"login":"mboersma","id":73019,"avatar_url":"https://avatars.githubusercontent.com/u/73019?v=3","gravatar_id":"","url":"https://api.github.com/users/mboersma","html_url":"https://github.com/mboersma","followers_url":"https://api.github.com/users/mboersma/followers","following_url":"https://api.github.com/users/mboersma/following{/other_user}","gists_url":"https://api.github.com/users/mboersma/gists{/gist_id}","starred_url":"https://api.github.com/users/mboersma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mboersma/subscriptions","organizations_url":"https://api.github.com/users/mboersma/orgs","repos_url":"https://api.github.com/users/mboersma/repos","events_url":"https://api.github.com/users/mboersma/events{/privacy}","received_events_url":"https://api.github.com/users/mboersma/received_events","type":"User","site_admin":false},"body":"It's not even a proper noun, just a noun, so I guess \"pod\" is what we should use everywhere.","created_at":"2015-07-28T17:31:09Z","updated_at":"2015-07-28T17:31:09Z","html_url":"https://github.com/deis/deis/pull/3975#discussion_r35675379","pull_request_url":"https://api.github.com/repos/deis/deis/pulls/3975","_links":{"self":{"href":"https://api.github.com/repos/deis/deis/pulls/comments/35675379"},"html":{"href":"https://github.com/deis/deis/pull/3975#discussion_r35675379"},"pull_request":{"href":"https://api.github.com/repos/deis/deis/pulls/3975"}}},"pull_request":{"url":"https://api.github.com/repos/deis/deis/pulls/3975","id":39324609,"html_url":"https://github.com/deis/deis/pull/3975","diff_url":"https://github.com/deis/deis/pull/3975.diff","patch_url":"https://github.com/deis/deis/pull/3975.patch","issue_url":"https://api.github.com/repos/deis/deis/issues/3975","number":3975,"state":"open","locked":false,"title":"feat(k8s) : add k8s scheduler support to deis","user":{"login":"kmala","id":12552530,"avatar_url":"https://avatars.githubusercontent.com/u/12552530?v=3","gravatar_id":"","url":"https://api.github.com/users/kmala","html_url":"https://github.com/kmala","followers_url":"https://api.github.com/users/kmala/followers","following_url":"https://api.github.com/users/kmala/following{/other_user}","gists_url":"https://api.github.com/users/kmala/gists{/gist_id}","starred_url":"https://api.github.com/users/kmala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kmala/subscriptions","organizations_url":"https://api.github.com/users/kmala/orgs","repos_url":"https://api.github.com/users/kmala/repos","events_url":"https://api.github.com/users/kmala/events{/privacy}","received_events_url":"https://api.github.com/users/kmala/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-07-07T00:25:26Z","updated_at":"2015-07-28T17:31:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"86b8327389c3158d16aa09c4c1aa24784ae7b16f","assignee":{"login":"kmala","id":12552530,"avatar_url":"https://avatars.githubusercontent.com/u/12552530?v=3","gravatar_id":"","url":"https://api.github.com/users/kmala","html_url":"https://github.com/kmala","followers_url":"https://api.github.com/users/kmala/followers","following_url":"https://api.github.com/users/kmala/following{/other_user}","gists_url":"https://api.github.com/users/kmala/gists{/gist_id}","starred_url":"https://api.github.com/users/kmala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kmala/subscriptions","organizations_url":"https://api.github.com/users/kmala/orgs","repos_url":"https://api.github.com/users/kmala/repos","events_url":"https://api.github.com/users/kmala/events{/privacy}","received_events_url":"https://api.github.com/users/kmala/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/deis/deis/pulls/3975/commits","review_comments_url":"https://api.github.com/repos/deis/deis/pulls/3975/comments","review_comment_url":"https://api.github.com/repos/deis/deis/pulls/comments{/number}","comments_url":"https://api.github.com/repos/deis/deis/issues/3975/comments","statuses_url":"https://api.github.com/repos/deis/deis/statuses/0575908fd35c15023a25d0bd5db8cdee6b536018","head":{"label":"kmala:k8s","ref":"k8s","sha":"0575908fd35c15023a25d0bd5db8cdee6b536018","user":{"login":"kmala","id":12552530,"avatar_url":"https://avatars.githubusercontent.com/u/12552530?v=3","gravatar_id":"","url":"https://api.github.com/users/kmala","html_url":"https://github.com/kmala","followers_url":"https://api.github.com/users/kmala/followers","following_url":"https://api.github.com/users/kmala/following{/other_user}","gists_url":"https://api.github.com/users/kmala/gists{/gist_id}","starred_url":"https://api.github.com/users/kmala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kmala/subscriptions","organizations_url":"https://api.github.com/users/kmala/orgs","repos_url":"https://api.github.com/users/kmala/repos","events_url":"https://api.github.com/users/kmala/events{/privacy}","received_events_url":"https://api.github.com/users/kmala/received_events","type":"User","site_admin":false},"repo":{"id":36690579,"name":"deis","full_name":"kmala/deis","owner":{"login":"kmala","id":12552530,"avatar_url":"https://avatars.githubusercontent.com/u/12552530?v=3","gravatar_id":"","url":"https://api.github.com/users/kmala","html_url":"https://github.com/kmala","followers_url":"https://api.github.com/users/kmala/followers","following_url":"https://api.github.com/users/kmala/following{/other_user}","gists_url":"https://api.github.com/users/kmala/gists{/gist_id}","starred_url":"https://api.github.com/users/kmala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kmala/subscriptions","organizations_url":"https://api.github.com/users/kmala/orgs","repos_url":"https://api.github.com/users/kmala/repos","events_url":"https://api.github.com/users/kmala/events{/privacy}","received_events_url":"https://api.github.com/users/kmala/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kmala/deis","description":"Your PaaS. Your Rules. ","fork":true,"url":"https://api.github.com/repos/kmala/deis","forks_url":"https://api.github.com/repos/kmala/deis/forks","keys_url":"https://api.github.com/repos/kmala/deis/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kmala/deis/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kmala/deis/teams","hooks_url":"https://api.github.com/repos/kmala/deis/hooks","issue_events_url":"https://api.github.com/repos/kmala/deis/issues/events{/number}","events_url":"https://api.github.com/repos/kmala/deis/events","assignees_url":"https://api.github.com/repos/kmala/deis/assignees{/user}","branches_url":"https://api.github.com/repos/kmala/deis/branches{/branch}","tags_url":"https://api.github.com/repos/kmala/deis/tags","blobs_url":"https://api.github.com/repos/kmala/deis/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kmala/deis/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kmala/deis/git/refs{/sha}","trees_url":"https://api.github.com/repos/kmala/deis/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kmala/deis/statuses/{sha}","languages_url":"https://api.github.com/repos/kmala/deis/languages","stargazers_url":"https://api.github.com/repos/kmala/deis/stargazers","contributors_url":"https://api.github.com/repos/kmala/deis/contributors","subscribers_url":"https://api.github.com/repos/kmala/deis/subscribers","subscription_url":"https://api.github.com/repos/kmala/deis/subscription","commits_url":"https://api.github.com/repos/kmala/deis/commits{/sha}","git_commits_url":"https://api.github.com/repos/kmala/deis/git/commits{/sha}","comments_url":"https://api.github.com/repos/kmala/deis/comments{/number}","issue_comment_url":"https://api.github.com/repos/kmala/deis/issues/comments{/number}","contents_url":"https://api.github.com/repos/kmala/deis/contents/{+path}","compare_url":"https://api.github.com/repos/kmala/deis/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kmala/deis/merges","archive_url":"https://api.github.com/repos/kmala/deis/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kmala/deis/downloads","issues_url":"https://api.github.com/repos/kmala/deis/issues{/number}","pulls_url":"https://api.github.com/repos/kmala/deis/pulls{/number}","milestones_url":"https://api.github.com/repos/kmala/deis/milestones{/number}","notifications_url":"https://api.github.com/repos/kmala/deis/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kmala/deis/labels{/name}","releases_url":"https://api.github.com/repos/kmala/deis/releases{/id}","created_at":"2015-06-01T21:39:43Z","updated_at":"2015-06-01T21:39:44Z","pushed_at":"2015-07-28T00:51:24Z","git_url":"git://github.com/kmala/deis.git","ssh_url":"git@github.com:kmala/deis.git","clone_url":"https://github.com/kmala/deis.git","svn_url":"https://github.com/kmala/deis","homepage":"http://deis.io","size":17909,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"deis:master","ref":"master","sha":"de6e71464f5afe7ce3f07c70351be2f627a8c3d7","user":{"login":"deis","id":6117407,"avatar_url":"https://avatars.githubusercontent.com/u/6117407?v=3","gravatar_id":"","url":"https://api.github.com/users/deis","html_url":"https://github.com/deis","followers_url":"https://api.github.com/users/deis/followers","following_url":"https://api.github.com/users/deis/following{/other_user}","gists_url":"https://api.github.com/users/deis/gists{/gist_id}","starred_url":"https://api.github.com/users/deis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deis/subscriptions","organizations_url":"https://api.github.com/users/deis/orgs","repos_url":"https://api.github.com/users/deis/repos","events_url":"https://api.github.com/users/deis/events{/privacy}","received_events_url":"https://api.github.com/users/deis/received_events","type":"Organization","site_admin":false},"repo":{"id":11589713,"name":"deis","full_name":"deis/deis","owner":{"login":"deis","id":6117407,"avatar_url":"https://avatars.githubusercontent.com/u/6117407?v=3","gravatar_id":"","url":"https://api.github.com/users/deis","html_url":"https://github.com/deis","followers_url":"https://api.github.com/users/deis/followers","following_url":"https://api.github.com/users/deis/following{/other_user}","gists_url":"https://api.github.com/users/deis/gists{/gist_id}","starred_url":"https://api.github.com/users/deis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deis/subscriptions","organizations_url":"https://api.github.com/users/deis/orgs","repos_url":"https://api.github.com/users/deis/repos","events_url":"https://api.github.com/users/deis/events{/privacy}","received_events_url":"https://api.github.com/users/deis/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/deis/deis","description":"Your PaaS. Your Rules. ","fork":false,"url":"https://api.github.com/repos/deis/deis","forks_url":"https://api.github.com/repos/deis/deis/forks","keys_url":"https://api.github.com/repos/deis/deis/keys{/key_id}","collaborators_url":"https://api.github.com/repos/deis/deis/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/deis/deis/teams","hooks_url":"https://api.github.com/repos/deis/deis/hooks","issue_events_url":"https://api.github.com/repos/deis/deis/issues/events{/number}","events_url":"https://api.github.com/repos/deis/deis/events","assignees_url":"https://api.github.com/repos/deis/deis/assignees{/user}","branches_url":"https://api.github.com/repos/deis/deis/branches{/branch}","tags_url":"https://api.github.com/repos/deis/deis/tags","blobs_url":"https://api.github.com/repos/deis/deis/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/deis/deis/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/deis/deis/git/refs{/sha}","trees_url":"https://api.github.com/repos/deis/deis/git/trees{/sha}","statuses_url":"https://api.github.com/repos/deis/deis/statuses/{sha}","languages_url":"https://api.github.com/repos/deis/deis/languages","stargazers_url":"https://api.github.com/repos/deis/deis/stargazers","contributors_url":"https://api.github.com/repos/deis/deis/contributors","subscribers_url":"https://api.github.com/repos/deis/deis/subscribers","subscription_url":"https://api.github.com/repos/deis/deis/subscription","commits_url":"https://api.github.com/repos/deis/deis/commits{/sha}","git_commits_url":"https://api.github.com/repos/deis/deis/git/commits{/sha}","comments_url":"https://api.github.com/repos/deis/deis/comments{/number}","issue_comment_url":"https://api.github.com/repos/deis/deis/issues/comments{/number}","contents_url":"https://api.github.com/repos/deis/deis/contents/{+path}","compare_url":"https://api.github.com/repos/deis/deis/compare/{base}...{head}","merges_url":"https://api.github.com/repos/deis/deis/merges","archive_url":"https://api.github.com/repos/deis/deis/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/deis/deis/downloads","issues_url":"https://api.github.com/repos/deis/deis/issues{/number}","pulls_url":"https://api.github.com/repos/deis/deis/pulls{/number}","milestones_url":"https://api.github.com/repos/deis/deis/milestones{/number}","notifications_url":"https://api.github.com/repos/deis/deis/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/deis/deis/labels{/name}","releases_url":"https://api.github.com/repos/deis/deis/releases{/id}","created_at":"2013-07-22T19:02:40Z","updated_at":"2015-07-28T15:27:58Z","pushed_at":"2015-07-28T16:29:21Z","git_url":"git://github.com/deis/deis.git","ssh_url":"git@github.com:deis/deis.git","clone_url":"https://github.com/deis/deis.git","svn_url":"https://github.com/deis/deis","homepage":"http://deis.io","size":42369,"stargazers_count":4522,"watchers_count":4522,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":700,"mirror_url":null,"open_issues_count":226,"forks":700,"open_issues":226,"watchers":4522,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/deis/deis/pulls/3975"},"html":{"href":"https://github.com/deis/deis/pull/3975"},"issue":{"href":"https://api.github.com/repos/deis/deis/issues/3975"},"comments":{"href":"https://api.github.com/repos/deis/deis/issues/3975/comments"},"review_comments":{"href":"https://api.github.com/repos/deis/deis/pulls/3975/comments"},"review_comment":{"href":"https://api.github.com/repos/deis/deis/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/deis/deis/pulls/3975/commits"},"statuses":{"href":"https://api.github.com/repos/deis/deis/statuses/0575908fd35c15023a25d0bd5db8cdee6b536018"}}}}