{"action":"created","issue":{"url":"https://api.github.com/repos/heptio/contour/issues/299","repository_url":"https://api.github.com/repos/heptio/contour","labels_url":"https://api.github.com/repos/heptio/contour/issues/299/labels{/name}","comments_url":"https://api.github.com/repos/heptio/contour/issues/299/comments","events_url":"https://api.github.com/repos/heptio/contour/issues/299/events","html_url":"https://github.com/heptio/contour/issues/299","id":308178211,"number":299,"title":"Proxying doesn't work for services with different port and targetPort","user":{"login":"Lookyan","id":1040646,"avatar_url":"https://avatars3.githubusercontent.com/u/1040646?v=4","gravatar_id":"","url":"https://api.github.com/users/Lookyan","html_url":"https://github.com/Lookyan","followers_url":"https://api.github.com/users/Lookyan/followers","following_url":"https://api.github.com/users/Lookyan/following{/other_user}","gists_url":"https://api.github.com/users/Lookyan/gists{/gist_id}","starred_url":"https://api.github.com/users/Lookyan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lookyan/subscriptions","organizations_url":"https://api.github.com/users/Lookyan/orgs","repos_url":"https://api.github.com/users/Lookyan/repos","events_url":"https://api.github.com/users/Lookyan/events{/privacy}","received_events_url":"https://api.github.com/users/Lookyan/received_events","type":"User","site_admin":false},"labels":[{"id":732128545,"url":"https://api.github.com/repos/heptio/contour/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/heptio/contour/milestones/5","html_url":"https://github.com/heptio/contour/milestone/5","labels_url":"https://api.github.com/repos/heptio/contour/milestones/5/labels","id":3167291,"number":5,"title":"0.5.0","description":"","creator":{"login":"davecheney","id":7171,"avatar_url":"https://avatars0.githubusercontent.com/u/7171?v=4","gravatar_id":"","url":"https://api.github.com/users/davecheney","html_url":"https://github.com/davecheney","followers_url":"https://api.github.com/users/davecheney/followers","following_url":"https://api.github.com/users/davecheney/following{/other_user}","gists_url":"https://api.github.com/users/davecheney/gists{/gist_id}","starred_url":"https://api.github.com/users/davecheney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davecheney/subscriptions","organizations_url":"https://api.github.com/users/davecheney/orgs","repos_url":"https://api.github.com/users/davecheney/repos","events_url":"https://api.github.com/users/davecheney/events{/privacy}","received_events_url":"https://api.github.com/users/davecheney/received_events","type":"User","site_admin":false},"open_issues":18,"closed_issues":5,"state":"open","created_at":"2018-03-06T21:48:52Z","updated_at":"2018-03-28T21:24:17Z","due_on":"2018-05-17T07:00:00Z","closed_at":null},"comments":11,"created_at":"2018-03-23T21:03:47Z","updated_at":"2018-03-28T21:25:12Z","closed_at":null,"author_association":"NONE","body":"I found interesting problem. When we have kubernetes service like this:\r\n\r\n```\r\napiVersion: v1\r\nkind: Service\r\nmetadata:\r\n  name: ...\r\n  labels:\r\n    service: ...\r\n    app: service\r\nspec:\r\n  type: ClusterIP\r\n  ports:\r\n    - port: 8890\r\n      targetPort: 8888\r\n  selector:\r\n    service: ...\r\n    app: service\r\n```\r\n\r\nThen it doesn't work because, as far as I understand, envoy tries to proxy to the port 8890, but endpoint listens 8888 port. So, we get an answer from envoy, that this service doesn't have healthy endpoints."},"comment":{"url":"https://api.github.com/repos/heptio/contour/issues/comments/377042227","html_url":"https://github.com/heptio/contour/issues/299#issuecomment-377042227","issue_url":"https://api.github.com/repos/heptio/contour/issues/299","id":377042227,"user":{"login":"davecheney","id":7171,"avatar_url":"https://avatars0.githubusercontent.com/u/7171?v=4","gravatar_id":"","url":"https://api.github.com/users/davecheney","html_url":"https://github.com/davecheney","followers_url":"https://api.github.com/users/davecheney/followers","following_url":"https://api.github.com/users/davecheney/following{/other_user}","gists_url":"https://api.github.com/users/davecheney/gists{/gist_id}","starred_url":"https://api.github.com/users/davecheney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davecheney/subscriptions","organizations_url":"https://api.github.com/users/davecheney/orgs","repos_url":"https://api.github.com/users/davecheney/repos","events_url":"https://api.github.com/users/davecheney/events{/privacy}","received_events_url":"https://api.github.com/users/davecheney/received_events","type":"User","site_admin":false},"created_at":"2018-03-28T21:25:12Z","updated_at":"2018-03-28T21:25:12Z","author_association":"OWNER","body":"\r\nCan you please set up port forwarding to the contour admin api [0] then paste the results on this command\r\n\r\n```\r\ncurl http://127.0.0.1:9001/clusters | grep ^contour\r\n```\r\n\r\n[0] curl http://127.0.0.1:9001/clusters | grep ^contour"}}
{"actor":{"display_login":"davecheney"}}