{"action":"created","issue":{"url":"https://api.github.com/repos/cloudflare/cloudflare-ingress-controller/issues/38","repository_url":"https://api.github.com/repos/cloudflare/cloudflare-ingress-controller","labels_url":"https://api.github.com/repos/cloudflare/cloudflare-ingress-controller/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/cloudflare/cloudflare-ingress-controller/issues/38/comments","events_url":"https://api.github.com/repos/cloudflare/cloudflare-ingress-controller/issues/38/events","html_url":"https://github.com/cloudflare/cloudflare-ingress-controller/issues/38","id":349870299,"node_id":"MDU6SXNzdWUzNDk4NzAyOTk=","number":38,"title":"Getting started example does not work","user":{"login":"tonyxiao","id":696842,"node_id":"MDQ6VXNlcjY5Njg0Mg==","avatar_url":"https://avatars1.githubusercontent.com/u/696842?v=4","gravatar_id":"","url":"https://api.github.com/users/tonyxiao","html_url":"https://github.com/tonyxiao","followers_url":"https://api.github.com/users/tonyxiao/followers","following_url":"https://api.github.com/users/tonyxiao/following{/other_user}","gists_url":"https://api.github.com/users/tonyxiao/gists{/gist_id}","starred_url":"https://api.github.com/users/tonyxiao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tonyxiao/subscriptions","organizations_url":"https://api.github.com/users/tonyxiao/orgs","repos_url":"https://api.github.com/users/tonyxiao/repos","events_url":"https://api.github.com/users/tonyxiao/events{/privacy}","received_events_url":"https://api.github.com/users/tonyxiao/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-08-13T02:38:00Z","updated_at":"2018-08-17T22:00:58Z","closed_at":null,"author_association":"NONE","body":"I followed the getting started tutorial in the readme and can't get the example working. \r\n\r\nThe domain I had was the TLD associated with cloudflare account, and I used `httpbin.${mydomain.com}` as the `host` configuration in an ingress deployment file.\r\n\r\nFWIW, when I used `cloudflared` directly to tunnel, I was able to see a dns record in my cloudflare account and it also worked. \r\n![image](https://user-images.githubusercontent.com/696842/44010399-00e2cd6e-9e67-11e8-9332-8bad13212f31.png)\r\nHowever, no such record got created when I tried to setup argo tunnel via the ingress controller. I tried using both the TLD as well as a subdomain for the domain passed in as `cloudflare-argo/domain` and neither approach worked. \r\n\r\nHere are the logs from argo tunnel pod when I try to apply the ingress `kubectl create -f argo.ingress.yaml`\r\n```\r\nI0813 02:30:46.467708       1 controller.go:185] Annotation kubernetes.io/ingress.class=argo-tunnel\r\nI0813 02:30:46.467780       1 controller.go:610] creating tunnel for ingress httpbin, default/httpbin/httpbin\r\nI0813 02:30:46.476709       1 round_trippers.go:436] GET https://10.96.0.1:443/api/v1/namespaces/default/secrets/cloudflared-cert 200 OK in 8 milliseconds\r\nI0813 02:30:46.478739       1 controller.go:636] created tunnel for ingress httpbin,  default/httpbin/httpbin\r\nI0813 02:30:46.478779       1 controller.go:699] Validation ok for running default/httpbin/httpbin with 1 endpoint(s)\r\nI0813 02:30:46.478841       1 controller.go:723] Starting tunnel to url httpbin.default:80\r\nI0813 02:30:46.485156       1 round_trippers.go:436] GET https://10.96.0.1:443/apis/extensions/v1beta1/namespaces/default/ingresses/httpbin 200 OK in 6 milliseconds\r\nI0813 02:30:46.489599       1 round_trippers.go:436] PUT https://10.96.0.1:443/apis/extensions/v1beta1/namespaces/default/ingresses/httpbin/status 200 OK in 3 milliseconds\r\nI0813 02:30:46.489817       1 controller.go:185] Annotation kubernetes.io/ingress.class=argo-tunnel\r\nI0813 02:30:46.489849       1 controller.go:185] Annotation kubernetes.io/ingress.class=argo-tunnel\r\n```\r\n\r\nAnd here are the logs when I delete it `kubectl delete -f argo.ingress.yaml`\r\n\r\n```\r\nI0813 02:31:10.058995       1 controller.go:185] Annotation kubernetes.io/ingress.class=argo-tunnel\r\nI0813 02:31:10.059101       1 controller.go:770] Removing tunnel default/httpbin/httpbin\r\nI0813 02:31:10.059132       1 controller.go:502] Error processing delete:default/httpbin/httpbin: lookup cftunnel.com on 10.96.0.10:53: no such host\r\nI0813 02:31:10.064582       1 controller.go:770] Removing tunnel default/httpbin/httpbin\r\nI0813 02:31:10.064626       1 controller.go:502] Error processing delete:default/httpbin/httpbin: Tunnel not found for key default/httpbin/httpbin\r\nI0813 02:31:10.075053       1 controller.go:770] Removing tunnel default/httpbin/httpbin\r\nE0813 02:31:10.075128       1 controller.go:508] Dropping object \"delete:default/httpbin/httpbin\" out of the queue: Tunnel not found for key default/httpbin/httpbin\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/cloudflare/cloudflare-ingress-controller/issues/comments/413998867","html_url":"https://github.com/cloudflare/cloudflare-ingress-controller/issues/38#issuecomment-413998867","issue_url":"https://api.github.com/repos/cloudflare/cloudflare-ingress-controller/issues/38","id":413998867,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMzk5ODg2Nw==","user":{"login":"tonyxiao","id":696842,"node_id":"MDQ6VXNlcjY5Njg0Mg==","avatar_url":"https://avatars1.githubusercontent.com/u/696842?v=4","gravatar_id":"","url":"https://api.github.com/users/tonyxiao","html_url":"https://github.com/tonyxiao","followers_url":"https://api.github.com/users/tonyxiao/followers","following_url":"https://api.github.com/users/tonyxiao/following{/other_user}","gists_url":"https://api.github.com/users/tonyxiao/gists{/gist_id}","starred_url":"https://api.github.com/users/tonyxiao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tonyxiao/subscriptions","organizations_url":"https://api.github.com/users/tonyxiao/orgs","repos_url":"https://api.github.com/users/tonyxiao/repos","events_url":"https://api.github.com/users/tonyxiao/events{/privacy}","received_events_url":"https://api.github.com/users/tonyxiao/received_events","type":"User","site_admin":false},"created_at":"2018-08-17T22:00:58Z","updated_at":"2018-08-17T22:00:58Z","author_association":"NONE","body":"@ntfrnzn to confirm, if I want to expose a service running at `service.staging.tld.com`, should domain passed in as `cloudflare-argo/domain` be set to `tld.com` or `staging.tld.com`? And what should the domain in the ingress be?"}}
{"actor":{"display_login":"tonyxiao"}}