Skip to content

Pr d eks implementation#3

Open
ashishsuneja wants to merge 3 commits into
Management_Plane_Combinedfrom
pr_d_eks_implementation
Open

Pr d eks implementation#3
ashishsuneja wants to merge 3 commits into
Management_Plane_Combinedfrom
pr_d_eks_implementation

Conversation

@ashishsuneja
Copy link
Copy Markdown
Owner

PR D: EKS implementation cleanup

  • Replace manual throttle retry loop in CreateNodePoolAsync with
    vm_util.Retry (max 5 retries, exponential backoff from 10s)
  • Replace manual ResourceInUseException retry loop in UpdateClusterAsync
    with vm_util.Retry (max 10 retries, 30s interval)
  • GetNodePoolNames: logging.warning → raise errors.Resource.GetError
  • _Delete: remove broad except around DeleteKeyfile — let it fail
  • _Create: narrow broad except in AZ query to IssueCommandError

Addresses hubatish feedback on PR GoogleCloudPlatform#6690 — use vm_util.Retry,
less exception handling, let things fail.

Ashish Suneja added 3 commits May 28, 2026 10:27
kubernetes_cluster.py:
- Sync methods (CreateNodePool, DeleteNodePool, UpgradeNodePool,
  UpdateCluster) now wrap their Async counterparts + WaitForOperation
  instead of raising NotImplementedError — shared logic in base class
- Revert StartPolling try/except — separate PR per hubatish feedback

kubernetes_management_benchmark.py:
- _CleanStartSweep: remove broad except, use guard clause, let it fail
- Run(): guard clause style for version resolution
- Replace manual throttle retry loop in CreateNodePoolAsync with
  vm_util.Retry (max 5 retries, exponential backoff from 10s)
- Replace manual ResourceInUseException retry loop in UpdateClusterAsync
  with vm_util.Retry (max 10 retries, 30s interval)
- GetNodePoolNames: logging.warning → raise errors.Resource.GetError
- _Delete: remove broad except around DeleteKeyfile — let it fail
- _Create: narrow broad except in AZ query to IssueCommandError

Addresses hubatish feedback on PR GoogleCloudPlatform#6690 — use vm_util.Retry,
less exception handling, let things fail.
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