Skip to content

elastic_kubernetes_service: add management plane operations#6748

Open
ashishsuneja wants to merge 1 commit into
GoogleCloudPlatform:masterfrom
ashishsuneja:mgmt_plane_eks
Open

elastic_kubernetes_service: add management plane operations#6748
ashishsuneja wants to merge 1 commit into
GoogleCloudPlatform:masterfrom
ashishsuneja:mgmt_plane_eks

Conversation

@ashishsuneja

Copy link
Copy Markdown

Summary
Adds EKS-specific implementations of management plane async methods.

Main changes

  • _DiscoverSubnets, _DiscoverSubnetsPerAZ, _DiscoverNodeRoleArn,
    _ResolveReleaseVersion, CreateNodePoolAsync, DeleteNodePoolAsync,
    UpgradeNodePoolAsync, UpdateClusterAsync, WaitForOperation,
    ResolveNodePoolVersions
  • Capacity reservation support flag-gated behind
    --eks_reserve_capacity_per_az (default: false)
  • logging.warning -> logging.info/raise per hubatish feedback

How tested

  • 43/44 tests passing (1 pre-existing failure unrelated to this PR)
  • EKS end-to-end: 99 pools, 100% success all 7 scenarios
  • pyink + lint-diffs clean

- _DiscoverSubnets: discovers cluster subnet IDs (cached)
- _DiscoverSubnetsPerAZ: maps AZ to subnet ID (cached)
- _DiscoverNodeRoleArn: discovers IAM node role ARN (cached)
- _ResolveReleaseVersion: resolves EKS release version for minor
- CreateNodePoolAsync: creates nodegroup, returns ng_active handle
- DeleteNodePoolAsync: deletes nodegroup, returns ng_gone handle
- UpgradeNodePoolAsync: upgrades nodegroup, returns ng_active handle
- UpdateClusterAsync: toggles cluster label, returns cluster handle
- WaitForOperation: polls nodegroup/cluster until terminal state
- ResolveNodePoolVersions: auto-detects initial/target versions
- Capacity reservation support flag-gated behind
  --eks_reserve_capacity_per_az (default: false)
- logging.warning -> logging.info/raise per hubatish feedback

Tested:
- 43/44 tests passing (1 pre-existing failure)
- EKS end-to-end: 99 pools, 100% success all 7 scenarios
- pyink + lint-diffs clean
@ashishsuneja ashishsuneja force-pushed the mgmt_plane_eks branch 2 times, most recently from 53a5035 to 958562d Compare June 17, 2026 19:28
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.

1 participant