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

Feat: add load balancer backend pool batch updater #4391

Merged

Conversation

nilo19
Copy link
Contributor

@nilo19 nilo19 commented Jul 31, 2023

What type of PR is this?

/kind feature
/kind bug

What this PR does / why we need it:

feat: add load balancer backend pool batch updater
fix a bug that the route updater and zone fetcher will not be exited every time the service reconciler restarts.

Which issue(s) this PR fixes:

Fixes #
Related: #4013

Special notes for your reviewer:

Does this PR introduce a user-facing change?

feat: add load balancer backend pool batch updater

Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:


@k8s-ci-robot k8s-ci-robot added release-note Denotes a PR that will be considered when it comes time to generate release notes. kind/feature Categorizes issue or PR as related to a new feature. kind/bug Categorizes issue or PR as related to a bug. labels Jul 31, 2023
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: nilo19

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels Jul 31, 2023
@MartinForReal MartinForReal changed the title eat: add load balancer backend pool batch updater Feat: add load balancer backend pool batch updater Jul 31, 2023
@nilo19 nilo19 force-pushed the feat/multi-slb/local-svc/batch branch 2 times, most recently from 6d8eea5 to 85c4b24 Compare July 31, 2023 14:11
@feiskyer
Copy link
Member

feiskyer commented Aug 1, 2023

/retest

}

// newLoadBalancerBackendPoolUpdater creates a new loadBalancerBackendPoolUpdater.
func newLoadBalancerBackendPoolUpdater(az *Cloud, interval time.Duration) *loadBalancerBackendPoolUpdater {
Copy link
Member

Choose a reason for hiding this comment

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

Could you add two new configurations for the batch updater intervals (LB and route)? we may need to tune the intervals from time to time (this could be done in a following PR).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sure.

Copy link
Member

@feiskyer feiskyer left a comment

Choose a reason for hiding this comment

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

This was re-created from #4382 due to github issues and LGTM.

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Aug 1, 2023
@feiskyer feiskyer added this to the v1.28 milestone Aug 1, 2023
@nilo19
Copy link
Contributor Author

nilo19 commented Aug 1, 2023

/easycla

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Aug 1, 2023
@k8s-ci-robot k8s-ci-robot merged commit bbf38c1 into kubernetes-sigs:master Aug 1, 2023
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/bug Categorizes issue or PR as related to a bug. kind/feature Categorizes issue or PR as related to a new feature. lgtm "Looks good to me", indicates that a PR is ready to be merged. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants