Skip to content
This repository has been archived by the owner on Nov 5, 2021. It is now read-only.

Improve cloudprober startup time when not running on Cloud. #427

Merged
merged 1 commit into from
Jul 2, 2020

Conversation

manugarg
Copy link
Contributor

@manugarg manugarg commented Jul 2, 2020

= Provide an option to disable cloud metadata checks.
= Set AWS API retries to 0. Metadata checks should not really require an automatic retry.

PiperOrigin-RevId: 319344649

= Provide an option to disable cloud metadata checks.
= Set AWS API retries to 0. Metadata checks should not really require an automatic retry.

PiperOrigin-RevId: 319344649
@manugarg
Copy link
Contributor Author

manugarg commented Jul 2, 2020

This PR replaces the PR #422 and fixes #417.

@networkop, I modified the code a little bit. Changed the flag to -cloud_metadata, with the following possible values
"auto" -- default (determine automatically)
"" or "none" -- no cloud.
"gce", "ec2" -- specific cloud providers.

Please let me know if you don't agree with these changes.

@manugarg manugarg merged commit a66d3e5 into master Jul 2, 2020
@manugarg manugarg deleted the 63729A23134379909BFCA3AC3C378B48 branch July 2, 2020 06:17
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants