Skip to content

🌱 Optimize memory usage of conversion by only setting required fields in annotation - #14075

Open
sbueringer wants to merge 1 commit into
kubernetes-sigs:mainfrom
sbueringer:pr-optimize-conversion
Open

🌱 Optimize memory usage of conversion by only setting required fields in annotation#14075
sbueringer wants to merge 1 commit into
kubernetes-sigs:mainfrom
sbueringer:pr-optimize-conversion

Conversation

@sbueringer

@sbueringer sbueringer commented Aug 13, 2026

Copy link
Copy Markdown
Member

What this PR does / why we need it:
This PR optimizes the memory usage of conversion by avoiding to send the entire objects around when we only need a few fields.

Skipped ClusterClass as it's not worth the effort/complexity

With some help from Claude

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

@kubernetes-prow

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign fabriziopandini for approval. For more information see the Code Review Process.

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

Details 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

@kubernetes-prow kubernetes-prow Bot added do-not-merge/needs-area PR is missing an area label cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Aug 13, 2026
@sbueringer

Copy link
Copy Markdown
Member Author

/test pull-cluster-api-e2e-main-gke

@kubernetes-prow kubernetes-prow Bot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Aug 13, 2026
@sbueringer sbueringer added the area/api Issues or PRs related to the APIs label Aug 13, 2026
@kubernetes-prow kubernetes-prow Bot removed the do-not-merge/needs-area PR is missing an area label label Aug 13, 2026
@sbueringer
sbueringer force-pushed the pr-optimize-conversion branch from e1a5578 to 94f2d4a Compare August 13, 2026 11:29
@sbueringer

Copy link
Copy Markdown
Member Author

/test pull-cluster-api-e2e-main-gke

@sbueringer sbueringer mentioned this pull request Aug 13, 2026
37 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/api Issues or PRs related to the APIs cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. 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.

1 participant