Skip to content

[release-1.5] feat: external load balancer garbage collection (part 3) - add gc to reconciliation #3646

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

Conversation

k8s-infra-cherrypick-robot

This is an automated cherry-pick of #3633

/assign richardcase

This change uses the new garbage collection service enables this during
the reconciliation of `AWSCluster` and `AWSManagedControlPlane`. Its
enabled via a new feature flag `ExternalResourceGC` which is disabled by
default. If the feature flag is enabled then the the gc service is called
in `reconcileDelete` for the infra clusters. The actual gc service does the
work of cleanup.

New commands have been added to `clusterawsadm` to allow users to
opt-in/out an already existing cluster from garbage collection.

Additionally, with the new mocks folder introduced with the gc service
the existing mocks have been deleted and tests/controllers updated.

Signed-off-by: Richard Case <[email protected]>
Various changes as a result of review feedback.

Signed-off-by: Richard Case <[email protected]>
@k8s-ci-robot
Copy link
Contributor

@k8s-infra-cherrypick-robot: This issue is currently awaiting triage.

If CAPA/CAPI contributors determines this is a relevant issue, they will accept it by applying the triage/accepted label and provide further guidance.

The triage/accepted label can be added by org members by writing /triage accepted in a comment.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@k8s-ci-robot k8s-ci-robot added the needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. label Aug 3, 2022
@k8s-ci-robot k8s-ci-robot requested review from Ankitasw and pydctw August 3, 2022 16:26
@k8s-ci-robot k8s-ci-robot added the size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. label Aug 3, 2022
@richardcase
Copy link
Member

/lgtm
/approve

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Aug 3, 2022
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: richardcase

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 the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 3, 2022
@k8s-ci-robot k8s-ci-robot merged commit 4b97a28 into kubernetes-sigs:release-1.5 Aug 3, 2022
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. lgtm "Looks good to me", indicates that a PR is ready to be merged. needs-priority needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants