We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
isMetadataEndpointAccessible attempts to check we can actually reach the GCE server.
We use this along with metada.OnGCE
Logic: OnGCE: first one wins of
dig metadata.google.internal
We add isMetadataEndpointAccessible which does a simple curl of metadata.google.internal and sees it is reachable. This doesn't seem reliable
metadata.google.internal
169.254.169.254
The text was updated successfully, but these errors were encountered:
cc @rinormaloku @stewartbutler
Sorry, something went wrong.
howardjohn
Successfully merging a pull request may close this issue.
isMetadataEndpointAccessible attempts to check we can actually reach the GCE server.
We use this along with metada.OnGCE
Logic:
OnGCE: first one wins of
dig metadata.google.internal
contains 169.254.169.254We add isMetadataEndpointAccessible which does a simple curl of
metadata.google.internal
and sees it is reachable. This doesn't seem reliable169.254.169.254
, so reachability to that is all the is relevantmetadata.google.internal
is unsafe, see TestVMTelemetry flaky, regression #42449 and metadata: issue with DNS search googleapis/google-cloud-go#7165The text was updated successfully, but these errors were encountered: