Skip to content

Conversation

@AndiDog
Copy link
Contributor

@AndiDog AndiDog commented Nov 21, 2025

What type of PR is this?

/kind bug
/area machinepool

What this PR does / why we need it:

CAPA kept logging Updating lifecycle hook and thereby calling the PutLifecycleHook API.

This fix ports our fork PR (giantswarm#639) to upstream. It solves the high rate of AWS API requests.

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
n/a

Special notes for your reviewer:

Checklist:

  • squashed commits
  • includes documentation
  • includes emoji in title
  • adds unit tests
  • adds or updates e2e tests

Release note:

Fix lifecycle hooks being updated constantly, consider changes to `RoleARN` field as well

@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/bug Categorizes issue or PR as related to a bug. area/machinepool cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. needs-priority labels Nov 21, 2025
@k8s-ci-robot k8s-ci-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Nov 21, 2025
@AndiDog
Copy link
Contributor Author

AndiDog commented Nov 21, 2025

@sebltm FYI

@sebltm
Copy link
Contributor

sebltm commented Nov 21, 2025

@AndiDog good catch thank you!

@nrb
Copy link
Contributor

nrb commented Nov 21, 2025

/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 Nov 21, 2025
@k8s-ci-robot
Copy link
Contributor

LGTM label has been added.

Git tree hash: fe0edbc75aeb9d5264a63541c7d1addfa7f3685d

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: nrb

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 21, 2025
@k8s-ci-robot k8s-ci-robot merged commit a809fcb into kubernetes-sigs:main Nov 21, 2025
23 checks passed
@AndiDog AndiDog deleted the avoid-lifecyclehook-constant-updates branch December 3, 2025 11:34
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. area/machinepool cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/bug Categorizes issue or PR as related to a bug. 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.

4 participants