Skip to content

fix(aws): use VPC ID for scoped Karpenter discovery - #37

Merged
Vignesh (vigneshr-07) merged 1 commit into
mainfrom
vigneshr-07/PLA-1592-default-karpenter-discovery-to-vpc-id
Sep 23, 2026
Merged

Vignesh (vigneshr-07) merged 1 commit into
mainfrom
vigneshr-07/PLA-1592-default-karpenter-discovery-to-vpc-id

Conversation

@vigneshr-07

Copy link
Copy Markdown
Collaborator

Summary

  • Default managed-VPC scopes to their VPC ID for karpenter.sh/discovery, even when cluster_name is set. Preserve explicit overrides and legacy non-scope behavior.
  • Add a named non-default scope regression test and update bootstrap guidance.

Why

v2-vnext-test node subnets were tagged with the scope's cluster name, while the Valet EKS chart configured Karpenter to select the VPC ID. Karpenter therefore finds no subnets and cannot provision workers. The same mismatch would affect a future named non-default prod scope.

References

  • Part of PLA-1592

Test plan

  • Terraform validation and test suite: 61 passed
  • Focused Go scope tests passed
  • After release, review the mgmt-dev Terraform plan for tag-only subnet changes, apply, and verify Karpenter finds the node subnets

The full Go suite has an unrelated macOS temp-path test failure.

@vigneshr-07
Vignesh (vigneshr-07) requested a review from a team as a code owner September 23, 2026 16:07
@vigneshr-07
Vignesh (vigneshr-07) merged commit 5a1a6c7 into main Sep 23, 2026
7 checks passed
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.

2 participants