Skip to content

Pr c gke implementation#2

Open
ashishsuneja wants to merge 4 commits into
Management_Plane_Combinedfrom
pr_c_gke_implementation
Open

Pr c gke implementation#2
ashishsuneja wants to merge 4 commits into
Management_Plane_Combinedfrom
pr_c_gke_implementation

Conversation

@ashishsuneja
Copy link
Copy Markdown
Owner

PR C: GKE implementation cleanup

  • CIDR comment fix: '/16 is narrowest' (not /17) — mahesh8842 comment
  • UpgradeNodePoolAsync: logging.warning → logging.info for expected
    fallback to operations list (not an error condition)
  • UpdateClusterAsync: logging.warning → logging.info for same reason
  • _GetLatestOperationName: raise errors.Resource.GetError instead of
    returning empty string after exhausting retries
  • Remove commented-out HasActiveUpgradeOperations block

Addresses hubatish feedback — less logging.warning, let things fail.

Ashish Suneja added 4 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.
- CIDR comment fix: '/16 is narrowest' (not /17) — mahesh8842 comment
- UpgradeNodePoolAsync: logging.warning → logging.info for expected
  fallback to operations list (not an error condition)
- UpdateClusterAsync: logging.warning → logging.info for same reason
- _GetLatestOperationName: raise errors.Resource.GetError instead of
  returning empty string after exhausting retries
- Remove commented-out HasActiveUpgradeOperations block

Addresses hubatish feedback — less logging.warning, 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