{"action":"created","issue":{"url":"https://api.github.com/repos/weaveworks/guides/issues/52","labels_url":"https://api.github.com/repos/weaveworks/guides/issues/52/labels{/name}","comments_url":"https://api.github.com/repos/weaveworks/guides/issues/52/comments","events_url":"https://api.github.com/repos/weaveworks/guides/issues/52/events","html_url":"https://github.com/weaveworks/guides/pull/52","id":104910432,"number":52,"title":"Kubernetes guide for Weave 1.1","user":{"login":"errordeveloper","id":251467,"avatar_url":"https://avatars.githubusercontent.com/u/251467?v=3","gravatar_id":"","url":"https://api.github.com/users/errordeveloper","html_url":"https://github.com/errordeveloper","followers_url":"https://api.github.com/users/errordeveloper/followers","following_url":"https://api.github.com/users/errordeveloper/following{/other_user}","gists_url":"https://api.github.com/users/errordeveloper/gists{/gist_id}","starred_url":"https://api.github.com/users/errordeveloper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/errordeveloper/subscriptions","organizations_url":"https://api.github.com/users/errordeveloper/orgs","repos_url":"https://api.github.com/users/errordeveloper/repos","events_url":"https://api.github.com/users/errordeveloper/events{/privacy}","received_events_url":"https://api.github.com/users/errordeveloper/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"abuehrle","id":13420383,"avatar_url":"https://avatars.githubusercontent.com/u/13420383?v=3","gravatar_id":"","url":"https://api.github.com/users/abuehrle","html_url":"https://github.com/abuehrle","followers_url":"https://api.github.com/users/abuehrle/followers","following_url":"https://api.github.com/users/abuehrle/following{/other_user}","gists_url":"https://api.github.com/users/abuehrle/gists{/gist_id}","starred_url":"https://api.github.com/users/abuehrle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abuehrle/subscriptions","organizations_url":"https://api.github.com/users/abuehrle/orgs","repos_url":"https://api.github.com/users/abuehrle/repos","events_url":"https://api.github.com/users/abuehrle/events{/privacy}","received_events_url":"https://api.github.com/users/abuehrle/received_events","type":"User","site_admin":false},"milestone":null,"comments":6,"created_at":"2015-09-04T15:17:07Z","updated_at":"2015-09-07T18:43:14Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/weaveworks/guides/pulls/52","html_url":"https://github.com/weaveworks/guides/pull/52","diff_url":"https://github.com/weaveworks/guides/pull/52.diff","patch_url":"https://github.com/weaveworks/guides/pull/52.patch"},"body":"There will more specific statements we would like to add to introduction and summary, but here is the starting point.\r\n\r\n\r\n## Introduction\r\n\r\nWith Weave 1.1 release users can utilise Docker API proxy and IP address allocator with Kubernetes, thereby removing the need to configure Docker daemon in a certain way, e.g. with statically allocated subnets for each host etc.\r\n\r\n[This is a reworked version of our old Kubernetes guide.](http://blog.weave.works/2014/11/11/weave-for-kubernetes/). Many new features had been added to Weave since the time of writing, namely Weave as well as Kubernetes have both become much more mature and gone past 1.0 releases.\r\n\r\n## Conclusion\r\n\r\nSay that Weave is the only networking solution for Kubernetes that offers a very easy to use encryption. Weave can potentially allow users to access un-orchestrated and even uncontainerized services (such as legacy databases), as well as services on running on other orchestrators, such as Mesos.\r\n\r\n## Instructions\r\n\r\n```\r\n> git clone https://github.com/weaveworks/guides\r\n> git checkout kubernetes\r\n> cd kubernetes/coreos\r\n> vagrant up\r\n> vagrant ssh kube-00\r\nkube-01 > journalctl -f -u install-kubernetes       ## wait for kubernetes binaries to get installed\r\nkube-01 > kubectl create -f /etc/kubernetes/addons  ## deploy DNS addon (when status column goes ready)\r\nkube-01 > kubectl get pods -w --all-namespaces      ## wait for DNS pods\r\nkube-01 > kubectl create -f guestbook-example       ## deploy the example Guestbook PHP\r\nkube-01 > kubectl get pods -w                       ## wait for all app pods to get deployed\r\n```\r\n\r\nNext you should be able to hit the app on `172.17.8.101` with port number that was printed when you ran `kubectl create -f guestbook-example`.\r\n\r\nOther useful commands:\r\n  - `etcdctl cluster-health`\r\n  - `systemctl status kube-*`\r\n  - `kubectl get nodes`"},"comment":{"url":"https://api.github.com/repos/weaveworks/guides/issues/comments/138354801","html_url":"https://github.com/weaveworks/guides/pull/52#issuecomment-138354801","issue_url":"https://api.github.com/repos/weaveworks/guides/issues/52","id":138354801,"user":{"login":"abuehrle","id":13420383,"avatar_url":"https://avatars.githubusercontent.com/u/13420383?v=3","gravatar_id":"","url":"https://api.github.com/users/abuehrle","html_url":"https://github.com/abuehrle","followers_url":"https://api.github.com/users/abuehrle/followers","following_url":"https://api.github.com/users/abuehrle/following{/other_user}","gists_url":"https://api.github.com/users/abuehrle/gists{/gist_id}","starred_url":"https://api.github.com/users/abuehrle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abuehrle/subscriptions","organizations_url":"https://api.github.com/users/abuehrle/orgs","repos_url":"https://api.github.com/users/abuehrle/repos","events_url":"https://api.github.com/users/abuehrle/events{/privacy}","received_events_url":"https://api.github.com/users/abuehrle/received_events","type":"User","site_admin":false},"created_at":"2015-09-07T18:43:14Z","updated_at":"2015-09-07T18:43:14Z","body":"@errordeveloper have a look.  I talk about encryption but we don't enable it in the example. Should we change that?"}}