{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/63184","repository_url":"https://api.github.com/repos/kubernetes/kubernetes","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/63184/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/63184/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/63184/events","html_url":"https://github.com/kubernetes/kubernetes/issues/63184","id":317919513,"node_id":"MDU6SXNzdWUzMTc5MTk1MTM=","number":63184,"title":"gRPC client, how do you use routing in Kubernetes Ingress","user":{"login":"JCzz","id":1861398,"node_id":"MDQ6VXNlcjE4NjEzOTg=","avatar_url":"https://avatars3.githubusercontent.com/u/1861398?v=4","gravatar_id":"","url":"https://api.github.com/users/JCzz","html_url":"https://github.com/JCzz","followers_url":"https://api.github.com/users/JCzz/followers","following_url":"https://api.github.com/users/JCzz/following{/other_user}","gists_url":"https://api.github.com/users/JCzz/gists{/gist_id}","starred_url":"https://api.github.com/users/JCzz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JCzz/subscriptions","organizations_url":"https://api.github.com/users/JCzz/orgs","repos_url":"https://api.github.com/users/JCzz/repos","events_url":"https://api.github.com/users/JCzz/events{/privacy}","received_events_url":"https://api.github.com/users/JCzz/received_events","type":"User","site_admin":false},"labels":[{"id":778118402,"node_id":"MDU6TGFiZWw3NzgxMTg0MDI=","url":"https://api.github.com/repos/kubernetes/kubernetes/labels/lifecycle/rotten","name":"lifecycle/rotten","color":"604460","default":false},{"id":116712108,"node_id":"MDU6TGFiZWwxMTY3MTIxMDg=","url":"https://api.github.com/repos/kubernetes/kubernetes/labels/sig/network","name":"sig/network","color":"d2b48c","default":false},{"id":130318610,"node_id":"MDU6TGFiZWwxMzAzMTg2MTA=","url":"https://api.github.com/repos/kubernetes/kubernetes/labels/triage/support","name":"triage/support","color":"d455d0","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-04-26T08:06:29Z","updated_at":"2018-09-23T11:28:19Z","closed_at":null,"author_association":"NONE","body":"Having a gRPC client, how do you use routing in Kubernetes Ingress?\r\n\r\nMy gRPC server is at this local path 10.0.1.6/hw.\r\n\r\nIt is running and listening in a Kubernetes pod and it is working internally, if I run it in a pod. \r\nBut I am now accessing it via url and ingress.\r\n\r\nBut how do I test that it actually is working with the routing without a port number?\r\n\r\n```\r\nconst (\r\n    address     = \"10.0.1.6:80/hw\"\r\n    defaultName = \"World\"\r\n)\r\n\r\nvar (\r\n    conn *grpc.ClientConn\r\n    c    pb.GreeterClient\r\n)\r\n\r\nfunc setupRPC() {\r\n\r\n    var err error\r\n    conn, err = grpc.Dial(address, grpc.WithInsecure())\r\n    c = pb.NewGreeterClient(conn)\r\n    if err != nil {\r\n        log.Fatalf(\"did not connect: %v\", err)\r\n    }\r\n\r\n}\r\n```\r\nI get this error:\r\n\r\n```\r\ncould not greet: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = \"transport: Error while dialing dial tcp: lookup tcp/80/hw: nodename nor servname provided, or not known\"\r\nDo you know how? Or how to test gRPC endpoints?\r\n```"},"comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments/423809596","html_url":"https://github.com/kubernetes/kubernetes/issues/63184#issuecomment-423809596","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/63184","id":423809596,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMzgwOTU5Ng==","user":{"login":"k8s-ci-robot","id":20407524,"node_id":"MDQ6VXNlcjIwNDA3NTI0","avatar_url":"https://avatars0.githubusercontent.com/u/20407524?v=4","gravatar_id":"","url":"https://api.github.com/users/k8s-ci-robot","html_url":"https://github.com/k8s-ci-robot","followers_url":"https://api.github.com/users/k8s-ci-robot/followers","following_url":"https://api.github.com/users/k8s-ci-robot/following{/other_user}","gists_url":"https://api.github.com/users/k8s-ci-robot/gists{/gist_id}","starred_url":"https://api.github.com/users/k8s-ci-robot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/k8s-ci-robot/subscriptions","organizations_url":"https://api.github.com/users/k8s-ci-robot/orgs","repos_url":"https://api.github.com/users/k8s-ci-robot/repos","events_url":"https://api.github.com/users/k8s-ci-robot/events{/privacy}","received_events_url":"https://api.github.com/users/k8s-ci-robot/received_events","type":"User","site_admin":false},"created_at":"2018-09-23T11:28:19Z","updated_at":"2018-09-23T11:28:19Z","author_association":"CONTRIBUTOR","body":"@fejta-bot: Closing this issue.\n\n<details>\n\nIn response to [this](https://github.com/kubernetes/kubernetes/issues/63184#issuecomment-423809589):\n\n>Rotten issues close after 30d of inactivity.\n>Reopen the issue with `/reopen`.\n>Mark the issue as fresh with `/remove-lifecycle rotten`.\n>\n>Send feedback to sig-testing, kubernetes/test-infra and/or [fejta](https://github.com/fejta).\n>/close\n\n\nInstructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md).  If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.\n</details>"}}
{"actor":{"display_login":"k8s-ci-robot"}}