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

GKE Resource detection doesn't work well with workload identity #9682

Closed
dashpole opened this issue May 2, 2022 · 3 comments · Fixed by #10347
Closed

GKE Resource detection doesn't work well with workload identity #9682

dashpole opened this issue May 2, 2022 · 3 comments · Fixed by #10347
Assignees
Labels
bug Something isn't working comp:google Google Cloud components priority:p2 Medium processor/resourcedetection Resource detection processor

Comments

@dashpole
Copy link
Contributor

dashpole commented May 2, 2022

Describe the bug

Create a GKE cluster with workload identity enabled. Try using the GCE resource detector. It produces error messages because of missing fields. Try to use the GKE resource detector instead. Now you are missing important resource information.

The GKE resource detector should set zone/region based on the cluster-location metadata attribute instead.

@dashpole dashpole added bug Something isn't working comp:google Google Cloud components labels May 2, 2022
@dashpole
Copy link
Contributor Author

dashpole commented May 2, 2022

In general, the GKE resource detector should only set one of [zone, region] since a cluster with the same name can exist in both zonal and regional form within the same project.

@dmitryax
Copy link
Member

dmitryax commented May 6, 2022

@dashpole do we have someone who can on this?

@dashpole
Copy link
Contributor Author

dashpole commented May 6, 2022

I plan to work on this as soon as I can find time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working comp:google Google Cloud components priority:p2 Medium processor/resourcedetection Resource detection processor
Projects
None yet
2 participants