{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/65613","repository_url":"https://api.github.com/repos/kubernetes/kubernetes","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/65613/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/65613/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/65613/events","html_url":"https://github.com/kubernetes/kubernetes/issues/65613","id":336864042,"node_id":"MDU6SXNzdWUzMzY4NjQwNDI=","number":65613,"title":"Add Pod IP target support to AWS NLB services","user":{"login":"micahhausler","id":791000,"node_id":"MDQ6VXNlcjc5MTAwMA==","avatar_url":"https://avatars3.githubusercontent.com/u/791000?v=4","gravatar_id":"","url":"https://api.github.com/users/micahhausler","html_url":"https://github.com/micahhausler","followers_url":"https://api.github.com/users/micahhausler/followers","following_url":"https://api.github.com/users/micahhausler/following{/other_user}","gists_url":"https://api.github.com/users/micahhausler/gists{/gist_id}","starred_url":"https://api.github.com/users/micahhausler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/micahhausler/subscriptions","organizations_url":"https://api.github.com/users/micahhausler/orgs","repos_url":"https://api.github.com/users/micahhausler/repos","events_url":"https://api.github.com/users/micahhausler/events{/privacy}","received_events_url":"https://api.github.com/users/micahhausler/received_events","type":"User","site_admin":false},"labels":[{"id":267761362,"node_id":"MDU6TGFiZWwyNjc3NjEzNjI=","url":"https://api.github.com/repos/kubernetes/kubernetes/labels/kind/feature","name":"kind/feature","color":"c7def8","default":false},{"id":328487998,"node_id":"MDU6TGFiZWwzMjg0ODc5OTg=","url":"https://api.github.com/repos/kubernetes/kubernetes/labels/sig/aws","name":"sig/aws","color":"d2b48c","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-29T05:03:19Z","updated_at":"2018-07-05T16:41:46Z","closed_at":null,"author_association":"MEMBER","body":"/kind feature\r\n/sig aws\r\n\r\nI want to be able to use an AWS NLB service and target Pod IP's as a backend instead of nodes.\r\n\r\nThe [AWS CNI provider](https://github.com/aws/amazon-vpc-cni-k8s) uses ENI's in the same network as Nodes, and [NLB's support IP's as a target type](https://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-target-groups.html?shortFooter=true#target-type). The [`cloudprovider.LoadBalancer`](https://github.com/kubernetes/kubernetes/blob/3988331/pkg/cloudprovider/cloud.go#L91-L118) interface only calls [`UpdateLoadBalancer()`](https://github.com/kubernetes/kubernetes/blob/3988331/pkg/cloudprovider/cloud.go#L104-L108) on node change, so this may require an out-of tree controller that can watch for changes to the Endpoints for a particular service.\r\n\r\nI'm thinking we could use the existing annotation key `service.beta.kubernetes.io/aws-load-balancer-type` with a new value, maybe something like `nlb-eip-endpoints`. (Totally open to a better name)\r\n\r\n**Environment**:\r\n- Cloud provider: AWS\r\n- Others: Would only work with [aws/amazon-vpc-cni-k8s](https://github.com/aws/amazon-vpc-cni-k8s) or any CNI provider that uses ENIs or non-overlay pod IP's\r\n"},"comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments/402783267","html_url":"https://github.com/kubernetes/kubernetes/issues/65613#issuecomment-402783267","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/65613","id":402783267,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMjc4MzI2Nw==","user":{"login":"jhorwit2","id":3876739,"node_id":"MDQ6VXNlcjM4NzY3Mzk=","avatar_url":"https://avatars1.githubusercontent.com/u/3876739?v=4","gravatar_id":"","url":"https://api.github.com/users/jhorwit2","html_url":"https://github.com/jhorwit2","followers_url":"https://api.github.com/users/jhorwit2/followers","following_url":"https://api.github.com/users/jhorwit2/following{/other_user}","gists_url":"https://api.github.com/users/jhorwit2/gists{/gist_id}","starred_url":"https://api.github.com/users/jhorwit2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhorwit2/subscriptions","organizations_url":"https://api.github.com/users/jhorwit2/orgs","repos_url":"https://api.github.com/users/jhorwit2/repos","events_url":"https://api.github.com/users/jhorwit2/events{/privacy}","received_events_url":"https://api.github.com/users/jhorwit2/received_events","type":"User","site_admin":false},"created_at":"2018-07-05T16:41:45Z","updated_at":"2018-07-05T16:41:45Z","author_association":"MEMBER","body":"@micahhausler Sadly, this change would require a lot more changes to support. I'm going to add sig/network instead since this would be a change to the service controller / cloud provider interface. The load balancer logic actually has no idea about the pods themselves and only receives nodes & the service object. \r\n\r\n/sig network\r\n/remove-sig aws"}}
{"actor":{"display_login":"jhorwit2"}}