Commit fef72ad
Ashish Suneja
kubernetes_management: add benchmark + base cluster management plane methods
kubernetes_management_benchmark.py:
- Full implementation of Scenarios A, B, C on top of Zach's skeleton
- _CleanStartSweep: guard clause, let it fail (no broad except)
- Run(): guard clause for version resolution
- All helpers: _RunScenarioA/B/C, _TimedAsync, _RunAsync, _OpSamples
- _Results accumulator, _AggregateSamples, _OutlierSamples
kubernetes_cluster.py:
- AddNodepool: delegates to CreateNodePool for standard clusters
- CreateNodePool/DeleteNodePool/UpgradeNodePool/UpdateCluster: sync
wrappers calling *Async + WaitForOperation
- Abstract methods: CreateNodePoolAsync, DeleteNodePoolAsync,
UpgradeNodePoolAsync, UpdateClusterAsync, WaitForOperation,
ResolveNodePoolVersions, GetNodePoolNames
- BareMinor, AdjacentMinorBelow: version helper functions
Tested:
- 89 unit tests passing
- EKS end-to-end: 99 pools, 100% success all 7 scenarios
- pyink + lint-diffs clean1 parent c0f8a7b commit fef72ad
4 files changed
Lines changed: 1997 additions & 25 deletions
File tree
- perfkitbenchmarker
- linux_benchmarks
- resources/container_service
- tests/linux_benchmarks
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
1 | 8 | | |
2 | 9 | | |
3 | 10 | | |
| |||
0 commit comments