Skip to content
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

Count with LoadBalancer IP in Service status #911

Merged
merged 1 commit into from Jun 21, 2022
Merged

Count with LoadBalancer IP in Service status #911

merged 1 commit into from Jun 21, 2022

Conversation

k0da
Copy link
Collaborator

@k0da k0da commented Jun 21, 2022

On AKS for example, service type LoadBalancer doesn't expose Hostname
but direct IP.

We need to look at both properties

Signed-off-by: Dinar Valeev dinar.valeev@absa.africa

On AKS for example, service type LoadBalancer doesn't expose Hostname
but direct IP.

We need to look at both properties

Signed-off-by: Dinar Valeev <dinar.valeev@absa.africa>
@sebader
Copy link

sebader commented Jun 21, 2022

works for me :) thanks for the quick fix!

@sebader sebader mentioned this pull request Jun 21, 2022
4 tasks
@k0da k0da merged commit da5ec2c into master Jun 21, 2022
@k0da k0da deleted the coredns_LB_ip branch June 21, 2022 21:23
},
}
serviceIPs := []corev1.LoadBalancerIngress{
{IP: "1.1.1.1"}, // rely on 1.1.1.1 response from Cloudflare
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@k0da , are we really checking resolution by CloudFlare here or are these just mock test data?
https://blog.cloudflare.com/cloudflare-outage-on-june-21-2022/

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is just a test data

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@k0da if it's just test data, then the comment describing that it's not should be removed. Looks like a copy-paste from https://github.com/k8gb-io/k8gb/blob/master/controllers/gslb_controller_test.go#L818 where we actually relying on Cloudflare's FQDN resolution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants