-
Feature
-
Resolution: Done
-
Major
-
None
-
Upstream
-
False
-
-
False
-
0% To Do, 0% In Progress, 100% Done
-
0
-
Program Call
Feature Overview (aka. Goal Summary)
This is a upstream work and not impacting the release of OpenShift 4.17.
This feature covers the work done upstream to create a CAPI provider for Karpenter. Feature will also document the unsupported way to integrate Karpenter with ROSA classic. In the subsequent phases, the CAPI provider will be tested with HCP/standalone OCP.
Goals (aka. expected user outcomes)
- Create a PoC for a new upstream CAPI provider for Karpenter.
- integration with Cluster API CRD objects
- using MachineDeployment to scale cluster size
- initial implementation relies on annotations to convey metadata about cloud resources
- this will start with resource capacity and availability
- will grow to encompass pricing information
- user experience is focused on Cluster API CRD objects to control behavior of provider specific provisioning with Karpenter CRD objects controlling behavior of autoscaling/provisioning
- the PoC will start as a minimal viable product and grow with help from community
Requirements (aka. Acceptance Criteria):
As a cluster-admin or SRE I should be able to configure Karpenter with OCP on AWS. Both cli and UI should enable users to configure Karpenter and disable CAS.
Anyone reviewing this Feature needs to know which deployment configurations that the Feature will apply to (or not) once it's been completed. Describe specific needs (or indicate N/A) for each of the following deployment scenarios. For specific configurations that are out-of-scope for a given release, ensure you provide the OCPSTRAT (for the future to be supported configuration) as well.
Deployment considerations | List applicable specific needs (N/A = not applicable) |
Self-managed, managed, or both | none |
Classic (standalone cluster) | |
Hosted control planes | none |
Multi node, Compact (three node), or Single node (SNO), or all | |
Connected / Restricted Network | |
Architectures, e.g. x86_x64, ARM (aarch64), IBM Power (ppc64le), and IBM Z (s390x) | x86_x64 |
Operator compatibility | |
Backport needed (list applicable versions) | No |
UI need (e.g. OpenShift Console, dynamic plugin, OCM) | No |
Other (please specify) | No |
Out of Scope
Creating a multi-provider cost/pricing operator compatible with CAPI is beyond the scope of this Feature. That may take more time.
Background
Provide any additional context is needed to frame the feature. Initial completion during Refinement status.
- Karpenter.sh is an open-source node provisioning project built for Kubernetes. It is designed to simplify Kubernetes infrastructure by automatically launching and terminating nodes based on the needs of your workloads. Karpenter can help you to reduce costs, improve performance, and simplify operations.
- Karpenter works by observing the unscheduled pods in your cluster and launching new nodes to accommodate them. Karpenter can also terminate nodes that are no longer needed, which can help you save money on infrastructure costs.
- Karpenter architecture has a Karpenter-core and Karpenter-provider as components.
The core has AWS code which does the resource calculation to reduce the cost by re-provisioning new nodes.
- clones
-
OCPSTRAT-943 Phase 3: get CAPI provider for Karpenter working for ROSA+HCP
- Refinement
- is cloned by
-
OCPSTRAT-1527 Phase 2 : Get CAPI provider working for standalone OCP on AWS
- New
-
OCPSTRAT-1586 Phase 1 : PoC for a new upstream CAPI provider for Karpenter on AWS - (part-2)
- New
-
OCPSTRAT-1736 [Upstream] Phase 2 : PoC use native AWS Karpenter on HCP AWS
- New
- is depended on by
-
OCPSTRAT-1527 Phase 2 : Get CAPI provider working for standalone OCP on AWS
- New
-
OCPSTRAT-943 Phase 3: get CAPI provider for Karpenter working for ROSA+HCP
- Refinement
-
OCPSTRAT-1498 Phase 4: get CAPI provider for Karpenter working for ARO+HCP
- Refinement
- relates to
-
RFE-3611 Provide fallback or priorization for MachineSet/MachinePools to guarantee scale-up in case instance type is not available
- Backlog
-
RFE-3931 Karpenter support for ROSA
- Accepted
- links to