{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kops/issues/709","repository_url":"https://api.github.com/repos/kubernetes/kops","labels_url":"https://api.github.com/repos/kubernetes/kops/issues/709/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kops/issues/709/comments","events_url":"https://api.github.com/repos/kubernetes/kops/issues/709/events","html_url":"https://github.com/kubernetes/kops/issues/709","id":184325600,"number":709,"title":"Integrate with Calico","user":{"login":"caseydavenport","id":1944093,"avatar_url":"https://avatars.githubusercontent.com/u/1944093?v=3","gravatar_id":"","url":"https://api.github.com/users/caseydavenport","html_url":"https://github.com/caseydavenport","followers_url":"https://api.github.com/users/caseydavenport/followers","following_url":"https://api.github.com/users/caseydavenport/following{/other_user}","gists_url":"https://api.github.com/users/caseydavenport/gists{/gist_id}","starred_url":"https://api.github.com/users/caseydavenport/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caseydavenport/subscriptions","organizations_url":"https://api.github.com/users/caseydavenport/orgs","repos_url":"https://api.github.com/users/caseydavenport/repos","events_url":"https://api.github.com/users/caseydavenport/events{/privacy}","received_events_url":"https://api.github.com/users/caseydavenport/received_events","type":"User","site_admin":false},"labels":[{"id":469783167,"url":"https://api.github.com/repos/kubernetes/kops/labels/area/networking","name":"area/networking","color":"e99695","default":false}],"state":"open","locked":false,"assignee":{"login":"caseydavenport","id":1944093,"avatar_url":"https://avatars.githubusercontent.com/u/1944093?v=3","gravatar_id":"","url":"https://api.github.com/users/caseydavenport","html_url":"https://github.com/caseydavenport","followers_url":"https://api.github.com/users/caseydavenport/followers","following_url":"https://api.github.com/users/caseydavenport/following{/other_user}","gists_url":"https://api.github.com/users/caseydavenport/gists{/gist_id}","starred_url":"https://api.github.com/users/caseydavenport/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caseydavenport/subscriptions","organizations_url":"https://api.github.com/users/caseydavenport/orgs","repos_url":"https://api.github.com/users/caseydavenport/repos","events_url":"https://api.github.com/users/caseydavenport/events{/privacy}","received_events_url":"https://api.github.com/users/caseydavenport/received_events","type":"User","site_admin":false},"assignees":[{"login":"caseydavenport","id":1944093,"avatar_url":"https://avatars.githubusercontent.com/u/1944093?v=3","gravatar_id":"","url":"https://api.github.com/users/caseydavenport","html_url":"https://github.com/caseydavenport","followers_url":"https://api.github.com/users/caseydavenport/followers","following_url":"https://api.github.com/users/caseydavenport/following{/other_user}","gists_url":"https://api.github.com/users/caseydavenport/gists{/gist_id}","starred_url":"https://api.github.com/users/caseydavenport/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caseydavenport/subscriptions","organizations_url":"https://api.github.com/users/caseydavenport/orgs","repos_url":"https://api.github.com/users/caseydavenport/repos","events_url":"https://api.github.com/users/caseydavenport/events{/privacy}","received_events_url":"https://api.github.com/users/caseydavenport/received_events","type":"User","site_admin":false}],"milestone":null,"comments":18,"created_at":"2016-10-20T19:58:28Z","updated_at":"2016-11-13T18:19:30Z","closed_at":null,"body":"CNI support has been added, hooray! https://github.com/kubernetes/kops/pull/621/files\n\nWith the above merged, it should be easy to add Calico.\n\nThis issue is to track the testing / documentation for Calico + kops.\n"},"comment":{"url":"https://api.github.com/repos/kubernetes/kops/issues/comments/260202379","html_url":"https://github.com/kubernetes/kops/issues/709#issuecomment-260202379","issue_url":"https://api.github.com/repos/kubernetes/kops/issues/709","id":260202379,"user":{"login":"heschlie","id":4544262,"avatar_url":"https://avatars.githubusercontent.com/u/4544262?v=3","gravatar_id":"","url":"https://api.github.com/users/heschlie","html_url":"https://github.com/heschlie","followers_url":"https://api.github.com/users/heschlie/followers","following_url":"https://api.github.com/users/heschlie/following{/other_user}","gists_url":"https://api.github.com/users/heschlie/gists{/gist_id}","starred_url":"https://api.github.com/users/heschlie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heschlie/subscriptions","organizations_url":"https://api.github.com/users/heschlie/orgs","repos_url":"https://api.github.com/users/heschlie/repos","events_url":"https://api.github.com/users/heschlie/events{/privacy}","received_events_url":"https://api.github.com/users/heschlie/received_events","type":"User","site_admin":false},"created_at":"2016-11-13T18:19:30Z","updated_at":"2016-11-13T18:19:30Z","body":"First, I'm currently using the following kops if it makes a difference:\r\n```sh\r\n$ kops version\r\nVersion git-18879f7\r\n```\r\n\r\n@chrislovecnm Here is the manifest I have been trying to get deployed, @caseydavenport might want to review it make sure it is sane:\r\n\r\nhttps://gist.github.com/heschlie/4c0a137d1a6e9c3dec6d651866e52b26\r\n\r\nThe job in the above manifest never gets to run, but it is necessary, I run the container manually below to get calicoctl to setup the networking.\r\n\r\nI am deploying the cluster with the following command:\r\n\r\n`kops create cluster --zones us-west-2c $NAME --networking cni --master-size m4.large`\r\n\r\nI am using the m4.large at the suggestion of #728\r\n\r\nOnce the cluster master is online I need to ssh to it and do a couple things.\r\n\r\n1. `scp calico.yaml admin@$MASTER_IP:/admin/home/`\r\n2. `ssh admin@$MASTER_IP` to get the internal IP\r\n3. Add api.$NAME and api.internal.$NAME to Route53\r\n4. `sudo docker run --rm --net=host -e ETCD_ENDPOINTS=http://127.0.0.1:4001 calico/ctl:v0.22.0 pool add 172.20.96.0/19 --ipip --nat-outgoing`\r\n5. `kubectl apply -f calico.yaml`\r\n\r\nI have not been able to get a working deployment.  My main issue is when running kops with `--networking cni` is that it doesn't seem to create the necessary DNS entries in Route53 and thus the nodes cannot connect to it.\r\n\r\nI've tried adding the DNS entries by hand and it get the process further along but docker seems to be having trouble pulling all of the images, and the master is struggling to create the kubedns pods and I'm seeing this when I describe those pods:\r\n\r\n```\r\ncontainer \"kubedns\" is unhealthy, it will be killed and re-created\r\n```\r\n\r\nEven after getting the DNS entries (api.$NAME, api.internal.$NAME) in Route53 the kube-dns-v20 pods were still not coming online.  kubedns seems to be trying to hit the API at 100.64.0.1:443 but is not able to reach it:\r\n\r\n```\r\n$ kubectl logs -n kube-system kube-dns-v20-3531996453-hkrty kubedns\r\nI1113 18:08:34.945961       1 server.go:94] Using https://100.64.0.1:443 for kubernetes master, kubernetes API: <nil>\r\nI1113 18:08:34.946567       1 server.go:99] v1.5.0-alpha.0.1651+7dcae5edd84f06-dirty\r\nI1113 18:08:34.946588       1 server.go:101] FLAG: --alsologtostderr=\"false\"\r\nI1113 18:08:34.946643       1 server.go:101] FLAG: --dns-port=\"10053\"\r\nI1113 18:08:34.946650       1 server.go:101] FLAG: --domain=\"cluster.local.\"\r\nI1113 18:08:34.946667       1 server.go:101] FLAG: --federations=\"\"\r\nI1113 18:08:34.946673       1 server.go:101] FLAG: --healthz-port=\"8081\"\r\nI1113 18:08:34.946676       1 server.go:101] FLAG: --kube-master-url=\"\"\r\nI1113 18:08:34.946680       1 server.go:101] FLAG: --kubecfg-file=\"\"\r\nI1113 18:08:34.946744       1 server.go:101] FLAG: --log-backtrace-at=\":0\"\r\nI1113 18:08:34.946752       1 server.go:101] FLAG: --log-dir=\"\"\r\nI1113 18:08:34.946771       1 server.go:101] FLAG: --log-flush-frequency=\"5s\"\r\nI1113 18:08:34.946811       1 server.go:101] FLAG: --logtostderr=\"true\"\r\nI1113 18:08:34.946823       1 server.go:101] FLAG: --stderrthreshold=\"2\"\r\nI1113 18:08:34.946827       1 server.go:101] FLAG: --v=\"0\"\r\nI1113 18:08:34.946832       1 server.go:101] FLAG: --version=\"false\"\r\nI1113 18:08:34.946848       1 server.go:101] FLAG: --vmodule=\"\"\r\nI1113 18:08:34.946928       1 server.go:138] Starting SkyDNS server. Listening on port:10053\r\nI1113 18:08:34.946977       1 server.go:145] skydns: metrics enabled on : /metrics:\r\nI1113 18:08:34.946993       1 dns.go:166] Waiting for service: default/kubernetes\r\nI1113 18:08:34.949742       1 logs.go:41] skydns: ready for queries on cluster.local. for tcp://0.0.0.0:10053 [rcache 0]\r\nI1113 18:08:34.949813       1 logs.go:41] skydns: ready for queries on cluster.local. for udp://0.0.0.0:10053 [rcache 0]\r\nI1113 18:09:04.948943       1 dns.go:172] Ignoring error while waiting for service default/kubernetes: Get https://100.64.0.1:443/api/v1/namespaces/default/services/kubernetes: dial tcp 100.64.0.1:443: i/o timeout. Sleeping 1s before retrying.\r\nE1113 18:09:04.949791       1 reflector.go:214] pkg/dns/dns.go:155: Failed to list *api.Service: Get https://100.64.0.1:443/api/v1/services?resourceVersion=0: dial tcp 100.64.0.1:443: i/o timeout\r\nE1113 18:09:04.949862       1 reflector.go:214] pkg/dns/dns.go:154: Failed to list *api.Endpoints: Get https://100.64.0.1:443/api/v1/endpoints?resourceVersion=0: dial tcp 100.64.0.1:443: i/o timeout\r\n```\r\n\r\nI'm still learning the intricacies of kubernetes, but this doesn't look right to me, maybe someone can chime in with some info so I can understand what I might be doing wrong or need to do to get this operational.\r\n\r\nThe kube-dns pods seem to be the last remaining issue atm, but I can't establish if Calico is working until the kube-dns pods are up so there could likely still be more issues."}}
{"actor":{"display_login":"heschlie"}}