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

k8s cluster discovery incomplete #33

Open
stephen-soltesz opened this issue Dec 20, 2019 · 0 comments
Open

k8s cluster discovery incomplete #33

stephen-soltesz opened this issue Dec 20, 2019 · 0 comments

Comments

@stephen-soltesz
Copy link
Contributor

When originally developed, k8s service discovery could iterate through zones b/c we created clusters in specific zones. Today, clusters can be created in a "region" with redundancy in zones. However, the k8s API server runs on a regional address now, so the following is not enough:

	return g.containerService.Projects.Zones.Clusters.List(g.project, zone).Context(ctx).Do()

Instead, we need to use something like:

	return g.containerService.Projects.Locations.Clusters.List(...).Context(ctx).Do()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants