-
Notifications
You must be signed in to change notification settings - Fork 40k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Service status should include info about cloud load-balancer #18451
Comments
We currently have coupled creation of LB with the creation of a k8s service. An alternative would be to go down a path of creating a separate object for LBs (Ingress or something else) that can map to a service, instead of tightening this coupling. |
We might want to do that (I like the idea, but it's Yet Another Step), but On Wed, Dec 9, 2015 at 11:27 AM, Abhi Shah notifications@github.com wrote:
|
@kubernetes/sig-network-misc |
I'm not sure what more we would want to do. We could include a "provider id" field for the load balancer, but in practice at least on AWS it doesn't gain us a lot - the DNS name itself is a better identifier. Here is where we are today on AWS:
|
@nicksardo
I do think it would be useful to provide a way to track back between
resources. It could be annotations, though.
…On Sun, Jun 11, 2017 at 1:11 PM, Justin Santa Barbara < ***@***.***> wrote:
I'm not sure what more we would want to do. We could include a "provider
id" field for the load balancer, but in practice at least on AWS it doesn't
gain us a lot - the DNS name itself is a better identifier.
Here is where we are today on AWS:
> k get services -owide
NAME CLUSTER-IP EXTERNAL-IP PORT(S) AGE SELECTOR
guestbook 100.64.32.128 ad55bee634ee011e7b89102561e08ab5-168463352.us-west-2.elb.amazonaws.com 3000:32664/TCP 4m app=guestbook
...
> k get service guestbook -oyaml
...
status:
loadBalancer:
ingress:
- hostname: ad55bee634ee011e7b89102561e08ab5-168463352.us-west-2.elb.amazonaws.com
ad55bee634ee011e7b89102561e08ab5 is the name of the AWS load balancer.
> aws elb describe-load-balancers
...
"DNSName": "abe7f60d14e5611e797370a9aefe8be7-637046823.us-east-1.elb.amazonaws.com",
"SecurityGroups": [
"sg-6e76971f"
],
"Policies": {
"LBCookieStickinessPolicies": [],
"AppCookieStickinessPolicies": [],
"OtherPolicies": [
"k8s-proxyprotocol-enabled"
]
},
"LoadBalancerName": "abe7f60d14e5611e797370a9aefe8be7",
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#18451 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFVgVKrGvrsBQ8RrJ7lW-iASXXanVBFQks5sDEoLgaJpZM4GyHrh>
.
|
Issues go stale after 90d of inactivity. Prevent issues from auto-closing with an If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or |
Dup of #52670 which has more details |
We should find a way to jam info about the cloud load-balancer that is backing a service into the k8s API. Ideally the LB name and maybe a URL. This info is obviously going to vary by cloud provider. Maybe something simple like a string-string map in status.ingress[*] ?
@arob for ideas
@justinsb I think we discussed this but did not implement it before 1.0
The text was updated successfully, but these errors were encountered: