Skip to content

multiple bug fixes for v2.0.0-rc4 #1518

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

Merged
merged 5 commits into from
Oct 19, 2020
Merged

multiple bug fixes for v2.0.0-rc4 #1518

merged 5 commits into from
Oct 19, 2020

Conversation

M00nF1sh
Copy link
Collaborator

@M00nF1sh M00nF1sh commented Oct 19, 2020

  1. Tune the targetGroupBinding reconcile Requeue behavior

    • requeue with a fixed delay only when there are new targets registered or initial targets.
    • requeue with a backoff delay otherwise.
    • fixed delay is changed to 15 second to match TargetGroup's default healthCheckInterval

    Above requeue strategy will prevent the controller to send too many DescribeTargetHealth API call when targetGroup is not used or securityGroup rules is not setup correctly.

  2. Adjust the resource synthesize order by make TargetGroupBinding synthesize happens after listenerRule, such that when targets are been registered, it's already associated with a LoadBalancer.

  3. Use OptimisticLock via Object's resourceVersion to prevent race condition when updating collection fields.

  4. support both clientID and clientId(old one) for OIDC secret.

  5. Fix the log level settings. (ctrl.setLogger can only be set once)

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels Oct 19, 2020
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: kishorj, M00nF1sh
To complete the pull request process, please assign after the PR has been reviewed.
You can assign the PR to them by writing /assign in a comment when ready.

The full list of commands accepted by this bot can be found 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

@M00nF1sh M00nF1sh merged commit ad7ff32 into kubernetes-sigs:v2_ga Oct 19, 2020
Timothy-Dougherty pushed a commit to adammw/aws-load-balancer-controller that referenced this pull request Nov 9, 2023
* tune TargetGroupBinding requeue duration and deploy order

* fix log level

* adjust health monitor interval to 15 second

* use Optimistic lock for finalizer/pod condition operations

* support both clientID and clientId in OIDC secret
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. 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.

3 participants