{"action":"created","issue":{"url":"https://api.github.com/repos/convox/rack/issues/3015","repository_url":"https://api.github.com/repos/convox/rack","labels_url":"https://api.github.com/repos/convox/rack/issues/3015/labels{/name}","comments_url":"https://api.github.com/repos/convox/rack/issues/3015/comments","events_url":"https://api.github.com/repos/convox/rack/issues/3015/events","html_url":"https://github.com/convox/rack/pull/3015","id":379350702,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI5ODQyMjIw","number":3015,"title":"local rack on kubernetes","user":{"login":"ddollar","id":3308,"node_id":"MDQ6VXNlcjMzMDg=","avatar_url":"https://avatars2.githubusercontent.com/u/3308?v=4","gravatar_id":"","url":"https://api.github.com/users/ddollar","html_url":"https://github.com/ddollar","followers_url":"https://api.github.com/users/ddollar/followers","following_url":"https://api.github.com/users/ddollar/following{/other_user}","gists_url":"https://api.github.com/users/ddollar/gists{/gist_id}","starred_url":"https://api.github.com/users/ddollar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ddollar/subscriptions","organizations_url":"https://api.github.com/users/ddollar/orgs","repos_url":"https://api.github.com/users/ddollar/repos","events_url":"https://api.github.com/users/ddollar/events{/privacy}","received_events_url":"https://api.github.com/users/ddollar/received_events","type":"User","site_admin":false},"labels":[{"id":528701321,"node_id":"MDU6TGFiZWw1Mjg3MDEzMjE=","url":"https://api.github.com/repos/convox/rack/labels/status/4-wip","name":"status/4-wip","color":"fef2c0","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-11-09T22:56:20Z","updated_at":"2018-11-13T01:22:30Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/convox/rack/pulls/3015","html_url":"https://github.com/convox/rack/pull/3015","diff_url":"https://github.com/convox/rack/pull/3015.diff","patch_url":"https://github.com/convox/rack/pull/3015.patch"},"body":"Kubernetes-powered local Rack\r\n\r\nTo test:\r\n\r\n```\r\n$ convox update 20181111211120-k8s-local\r\n$ sudo convox rack install local -n test -v 20181111211120-k8s-local\r\n$ convox switch local/test\r\n```"},"comment":{"url":"https://api.github.com/repos/convox/rack/issues/comments/438093648","html_url":"https://github.com/convox/rack/pull/3015#issuecomment-438093648","issue_url":"https://api.github.com/repos/convox/rack/issues/3015","id":438093648,"node_id":"MDEyOklzc3VlQ29tbWVudDQzODA5MzY0OA==","user":{"login":"qnm","id":5343,"node_id":"MDQ6VXNlcjUzNDM=","avatar_url":"https://avatars2.githubusercontent.com/u/5343?v=4","gravatar_id":"","url":"https://api.github.com/users/qnm","html_url":"https://github.com/qnm","followers_url":"https://api.github.com/users/qnm/followers","following_url":"https://api.github.com/users/qnm/following{/other_user}","gists_url":"https://api.github.com/users/qnm/gists{/gist_id}","starred_url":"https://api.github.com/users/qnm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qnm/subscriptions","organizations_url":"https://api.github.com/users/qnm/orgs","repos_url":"https://api.github.com/users/qnm/repos","events_url":"https://api.github.com/users/qnm/events{/privacy}","received_events_url":"https://api.github.com/users/qnm/received_events","type":"User","site_admin":false},"created_at":"2018-11-13T01:22:30Z","updated_at":"2018-11-13T01:22:30Z","author_association":"CONTRIBUTOR","body":"> Thanks for trying this on Linux, it's on my todo list for this week. You could help me out a lot with that process (I'm not a native Linux-workstation user, would be doing the VM thing) by seeing if you can figure out what tweaks are necessary to get past that.\r\n>\r\n\r\nIt looks like it's an artifact of the service type being `LoadBalancer` and no external IP being available.\r\n\r\nThe endpoints are available and appear active:\r\n\r\n```\r\n$ kubectl get endpoints --namespace=convox-system\r\nNAME       ENDPOINTS                    AGE\r\nresolver   10.1.1.32:5453               128m\r\nrouter     10.1.1.32:80,10.1.1.32:443   128m\r\n\r\n$ curl -I 10.1.1.32:80\r\nHTTP/1.1 301 Moved Permanently\r\nContent-Type: text/html; charset=utf-8\r\nLocation: https://10.1.1.32/\r\nDate: Tue, 13 Nov 2018 01:22:10 GMT\r\n```\r\n \r\n> One other thing I need to figure out is whether or not NetworkManager allows for alternate ports in its custom DNS setup. I've just guessed at this config file.\r\n> \r\n> [rack/provider/local/system_linux.go](https://github.com/convox/rack/blob/756afc0ebc87603ff34ea59610e0ce24fdb8b1ad/provider/local/system_linux.go#L33)\r\n> \r\n> Line 33 in [756afc0](/convox/rack/commit/756afc0ebc87603ff34ea59610e0ce24fdb8b1ad)\r\n>  data = []byte(fmt.Sprintf(\"server=/%s/127.0.0.1:5453\\n\", name))\r\n\r\nThis looks correct, however I'm not sure how `127.0.0.1` can be used. Either the service has to bind to `127.0.0.1` or use the cluster ip instead. I'm not particularly clued up on k8s so I can't really help.\r\n\r\nThat said, I'm happy to try things and report back."}}
{"actor":{"display_login":"qnm"}}