Skip to content

Conversation

@rafatio
Copy link
Contributor

@rafatio rafatio commented May 9, 2025

Remove Karpenter v1alpha5 Provisioner Support

Changes

This PR removes support for Karpenter v1alpha5 Provisioners in favor of the newer v1 NodePool API. The changes include:

  • Removed KarpenterProvisioners field from KopsMachinePoolSpec
  • Removed all v1alpha5 Provisioner-related code and tests
  • Updated Karpenter custom addon bootstrap template to remove Provisioner pruning
  • Removed test files for Provisioner-only and mixed Provisioner/NodePool scenarios
  • Updated controller logic to only check for NodePool resources when determining if Karpenter should be enabled

Copy link
Collaborator

@thiagoluiznunes thiagoluiznunes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🔥

@rafatio rafatio merged commit c4c06f8 into main May 15, 2025
3 checks passed
@rafatio rafatio deleted the remove-karpenter-v1alpha5-support branch May 15, 2025 12:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants