elastic_kubernetes_service: add management plane operations#6748
Open
ashishsuneja wants to merge 1 commit into
Open
elastic_kubernetes_service: add management plane operations#6748ashishsuneja wants to merge 1 commit into
ashishsuneja wants to merge 1 commit into
Conversation
- _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
53a5035 to
958562d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds EKS-specific implementations of management plane async methods.
Main changes
_ResolveReleaseVersion, CreateNodePoolAsync, DeleteNodePoolAsync,
UpgradeNodePoolAsync, UpdateClusterAsync, WaitForOperation,
ResolveNodePoolVersions
--eks_reserve_capacity_per_az (default: false)
How tested