-
Notifications
You must be signed in to change notification settings - Fork 639
✨ Add support for EKS Provisioned Control Plane #5777
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
base: main
Are you sure you want to change the base?
✨ Add support for EKS Provisioned Control Plane #5777
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: 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 |
|
Welcome @cespo! |
|
Hi @cespo. Thanks for your PR. I'm waiting for a github.com member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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-sigs/prow repository. |
This change adds support for the EKS Provisioned Control Plane feature, which allows users to select from a set of scaling tiers (standard, tier-xl, tier-2xl, tier-4xl) for predictable, high performance from the cluster's control plane. Changes: - Add ControlPlaneScalingConfig field to AWSManagedControlPlane API - Add ControlPlaneScalingTier enum type with validation - Implement converters between CAPA and AWS SDK types - Update cluster creation to include scaling configuration - Add reconciliation logic for updating scaling configuration - Update v1beta1 conversion functions for backward compatibility - Upgrade AWS SDK for EKS to v1.75.1 to support the new API
Add comprehensive unit tests for: - ControlPlaneScalingConfigToSDK converter function - ControlPlaneScalingConfigFromSDK converter function - reconcileScalingConfig reconciliation logic Tests cover: - Nil input handling - All tier values (standard, tier-xl, tier-2xl, tier-4xl) - Update detection logic when tier changes - No update when tier is the same
8e31b3d to
5e189bb
Compare
serngawy
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/ok-to-test
Co-authored-by: Mohamed Ali ElSerngawy <[email protected]>
|
/retest-required |
|
/retest |
|
Can you add an e2e test as well? |
7aac38a to
430dfc6
Compare
|
/retest pull-cluster-api-provider-aws-lint-api |
1 similar comment
|
/retest pull-cluster-api-provider-aws-lint-api |
|
@cespo: The The following commands are available to trigger optional jobs: Use In response to this:
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-sigs/prow repository. |
|
/retest |
|
I've verified |
What type of PR is this?
/kind feature
/kind api-change
What this PR does / why we need it:
This PR adds support for the EKS Provisioned Control Plane feature, which allows cluster administrators to select from a set of scaling tiers for predictable, high performance from the cluster's control plane.
Amazon EKS offers two modes of operations for the control plane: Standard mode (default, with automatic scaling) and Provisioned mode (pre-allocated capacity). This implementation enables users to opt-in to Provisioned mode and select from the available scaling tiers:
standard,tier-xl,tier-2xl, ortier-4xl.Changes:
ControlPlaneScalingConfigfield toAWSManagedControlPlaneAPI (v1beta2)ControlPlaneScalingTierenum type with kubebuilder validationUsage example:
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 #5771
Special notes for your reviewer:
ControlPlaneScalingConfigsupport was added in a recent SDK versionChecklist:
Release note: