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

[improvement] : add new phase to check if we can use cloudinit or not to reduce API calls #522

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rahulait
Copy link
Contributor

What this PR does / why we need it:
Previously, we were doing GET for image and region during every reconcileCreate(). If there is an error during reconcileCreate(), the request is requeued and we again do same GET calls during next reconcile as well. We found that for a 100 node cluster, we were making 1200+ GET calls for regions and 1200+ GET calls for images. This change will help in reducing that number down to 1 call per machine.

TODO: Add unittests

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #

Special notes for your reviewer:

TODOs:

  • squashed commits
  • includes documentation
  • adds unit tests
  • adds or updates e2e tests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant