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

Allow to configure garbage collector using clusterawsadm #4500

Merged
merged 1 commit into from
Jan 9, 2024

Conversation

Fedosin
Copy link
Contributor

@Fedosin Fedosin commented Sep 12, 2023

What type of PR is this?
/kind feature

What this PR does / why we need it:
This PR allows to configure garbage collector using clusterawsadm CLI tool. It adds new command configure to clusterawsadm gc that will set ExternalResourceGCAnnotation with provided values on a specified cluster.

Examples:

# Enable load-balancer and security-group tasks, target-group will be disabled.
clusterawsadm gc configure --cluster-name=cluster --gc-task load-balancer --gc-task security-group
# Reset configuration (remove the annotation)
clusterawsadm gc configure --cluster-name=cluster

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 #4513

Special notes for your reviewer:

Checklist:

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

Release note:

Allow to configure garbage collector using clusterawsadm

@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. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. needs-priority labels Sep 12, 2023
@k8s-ci-robot k8s-ci-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Sep 12, 2023
@Ankitasw
Copy link
Member

@Fedosin since this is a feature request, it would be good to raise an issue first, and then go ahead with the PR.

@Fedosin
Copy link
Contributor Author

Fedosin commented Sep 22, 2023

@Ankitasw Thanks for the suggestion! I created an issue for this work #4513

@Ankitasw
Copy link
Member

/approve

cc @richardcase for another round of review.

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Ankitasw

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 Nov 22, 2023
@Ankitasw
Copy link
Member

Ankitasw commented Jan 9, 2024

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jan 9, 2024
@k8s-ci-robot k8s-ci-robot merged commit 988d136 into kubernetes-sigs:main Jan 9, 2024
13 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/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. needs-priority release-note Denotes a PR that will be considered when it comes time to generate release notes. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow to configure garbage collector using clusterawsadm
3 participants