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

Support k8s on GCE in resource detector #875

Merged
merged 1 commit into from
Aug 5, 2024

Conversation

dashpole
Copy link
Contributor

@dashpole dashpole commented Aug 5, 2024

Fixes #856.

This adds adds an additional check for the cluster name from the GKE metadata server to ensure we are actually running on GKE, and not k8s on GCE.

@dashpole dashpole requested a review from a team as a code owner August 5, 2024 16:28
@dashpole dashpole requested a review from damemi August 5, 2024 16:28
@dashpole dashpole merged commit 04b57d3 into GoogleCloudPlatform:main Aug 5, 2024
27 checks passed
@dashpole dashpole deleted the k8s_on_gce branch August 5, 2024 17:14
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.

resource detection fails for GCE running k3s
2 participants