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

Reduce provider-kubernetes' API load #550

Merged
merged 1 commit into from
Nov 25, 2024
Merged

Conversation

Kidswiss
Copy link
Contributor

@Kidswiss Kidswiss commented Nov 25, 2024

we've observed if many instances are created at the same time, the objects might need manual intervention due to the create-pending annotation.

This change will reduce the API load on the apiservers to reduce the chances of this actually happening.

Checklist

  • The PR has a meaningful title. It will be used to auto generate the
    changelog.
    The PR has a meaningful description that sums up the change. It will be
    linked in the changelog.
  • PR contains a single logical change (to build a better changelog).
  • Categorize the PR by adding one of the labels:
    bug, enhancement, documentation, change, breaking, dependency
    as they show up in the changelog.
  • Link this PR to related issues or PRs.

@Kidswiss Kidswiss added the patch label Nov 25, 2024
@Kidswiss Kidswiss requested review from a team, TheBigLee, wejdross and zugao and removed request for a team November 25, 2024 14:03
securityContext: {}
securityContext: {}
serviceAccountName: provider-kubernetes
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this should not be deleted?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch, I wonder why it doesn't merge this cleanly...

component/provider.jsonnet Outdated Show resolved Hide resolved
Copy link
Contributor

@zugao zugao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

we've observed if many instances are created at the same time, the
objects might need manual intervention due to the `create-pending`
annotation.

This change will reduce the API load on the apiservers to reduce the
chances of this actually happening.
@Kidswiss Kidswiss merged commit 7f281cd into master Nov 25, 2024
10 checks passed
@Kidswiss Kidswiss deleted the change/kube-reconcile-rate branch November 25, 2024 15:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants