You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a vendor-neutral rightsizing lab under test-data/rightsizing using standard Kubernetes APIs and two Kustomize configurations.
Reuse the Kedify load-generator for steady load, throttled and unthrottled bursts, startup spikes, and asymmetric multi-container sizing.
Exercise HPA minimum and maximum behavior, missing resources, bounded memory growth, short jobs, intentional OOM, a disruption budget, and a Pending scheduling case.
Add an opt-in NVIDIA vLLM fixture and a bounded concurrent load job for queueing, throughput, latency, and GPU telemetry.
Verification
Rendered both Kustomize configurations and ran server-side dry-run on AKS.
Confirmed CPU workloads roll out, both HPA boundaries are reached, the short job completes, the intentional memory job is OOMKilled, the disruption budget allows zero voluntary evictions, and the invalid selector remains Pending.
Verified the paired CPU workloads produce different CFS throttling signals and the startup workload returns to its low steady-state resource usage.
Booted OPT-125M with vLLM on an A100 and confirmed successful completions, real queueing, and pod-attributed GPU/VRAM counters.
Completed the three-minute GPU load run with 1,884 successful requests, zero failed requests, and 0.769 s p95 end-to-end latency in this lab run.
The reason will be displayed to describe this comment to others. Learn more.
🟡 Changes recommended
The comparison workload uses a 660-second idle duration instead of 600 seconds, changing burst frequency and load proportions so recommendation differences cannot be attributed solely to CPU throttling.
Adds a vendor-neutral Kubernetes rightsizing lab using the existing load-generator sample, with optional GPU inference for comparing resource recommendations.
Changes:
Adds steady, throttled, bursty, and asymmetric multi-container CPU workloads.
Adds an opt-in NVIDIA vLLM fixture, initially scaled to zero.
Documents deployment, resource observation, and consistent recommendation comparisons.
File
Description
test-data/rightsizing/README.md
Documents lab setup, workload signals, and comparison guidance.
test-data/rightsizing/gpu/kustomization.yaml
Configures GPU resources and pins the vLLM image digest.
test-data/rightsizing/gpu/inference.yaml
Defines the GPU namespace, inference Deployment, and Service.
test-data/rightsizing/cpu/workloads.yaml
Defines four CPU and memory rightsizing workloads.
test-data/rightsizing/cpu/namespace.yaml
Creates the CPU lab namespace.
test-data/rightsizing/cpu/kustomization.yaml
Assembles CPU resources and pins the load-generator image digest.
The reason will be displayed to describe this comment to others. Learn more.
🟡 Changes recommended
Mismatched CPU workload schedules confound throttling comparisons, and uncaught transport errors can prevent the GPU benchmark from producing its aggregate JSON report.
The comparison fixture uses a different repeating schedule from cpu-throttled: 660 seconds idle plus 300 seconds high, versus 600 plus 300. This changes the burst duty cycle from 33.3% to 31.25%, so whole-window usage and recommendations differ for reasons other than throttling. Match the schedules so the CPU limit is the controlled difference.
The reason will be displayed to describe this comment to others. Learn more.
🔵 Needs a closer look
Unhandled interrupted HTTP responses can abort the benchmark without a summary, while mismatched CPU fixture schedules prevent isolating the effects of throttling.
The reason will be displayed to describe this comment to others. Learn more.
🔵 Needs a closer look
Uncaught dropped-connection and truncated-response exceptions can abort the benchmark before it produces aggregate throughput, latency, and failure summaries.
The reason will be displayed to describe this comment to others. Learn more.
🔵 Needs a closer look
Uncaught HTTP read and connection failures can propagate through executor.map, aborting the benchmark and discarding collected results instead of counting failed requests and emitting the JSON summary.
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
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
test-data/rightsizingusing standard Kubernetes APIs and two Kustomize configurations.Verification