kubernetes_deployment_startup: add VPA CPU Startup Boost scenario - #6868
Open
ashishsuneja wants to merge 8 commits into
Open
kubernetes_deployment_startup: add VPA CPU Startup Boost scenario#6868ashishsuneja wants to merge 8 commits into
ashishsuneja wants to merge 8 commits into
Conversation
ashishsuneja
force-pushed
the
jvm_app_startup_pr3
branch
3 times, most recently
from
July 13, 2026 11:32
d8000f8 to
eeeb982
Compare
…metrics PR 1 of 3 — Metrics & Observability. New metrics: - per_pod_ready_time: one Sample per pod (pod_name in metadata) so callers can compute p50/p90 across replicas. Uses existing kubernetes_conditions.GetStatusConditionsForResourceType() data. - cpu_utilization_peak_millicores / cpu_utilization_mean_millicores / cpu_utilization_reading_count: CPU polled in a background thread via _CpuUtilizationCollector._Observe() following the same pattern as kubernetes_hpa_benchmark.KubernetesMetricsCollector. Existing max_pod_ready_time metric is preserved unchanged. Adds scenario/workload/cloud metadata to all samples for cross-config comparison (PR 3 will set scenario=optimized for GKE CPU Startup Boost). Flag stubs for --kubernetes_deployment_startup_workload and --kubernetes_deployment_startup_scenario registered now so PR 2 and PR 3 do not need flag renames. PR 2 adds vLLM workload support. PR 3 adds VPA CPU Startup Boost scenario (GKE only).
PR 3 of 3 — Baseline/Optimized Scenario + CPU Startup Boost via VPA. Completes the 4-configuration benchmark matrix: Config 1: GKE w/o cpuboost (scenario=baseline, cloud=GCP) Config 2: AWS w/o cpuboost (scenario=baseline, cloud=AWS) Config 3: AKS w/o cpuboost (scenario=baseline, cloud=Azure) Config 4: GKE w/ cpuboost (scenario=optimized, cloud=GCP) Changes: - kubernetes_deployment_startup_boost_factor flag (default 2). - kubernetes_deployment_startup_vpa_yaml flag (slowjvmstartup_vpa.yaml.j2). - CheckPrerequisites(): raises if scenario=optimized on non-GCP or vLLM. - GetConfig(): sets enable_vpa=True for scenario=optimized. - Prepare(): applies VPA manifest with cpuBoostFactor for optimized. - Run(): adds boost_factor to all sample metadata. - slowjvmstartup_vpa.yaml.j2: VPA with startup boost policy. Stacked on PR GoogleCloudPlatform#6865 (metrics) and PR GoogleCloudPlatform#6867 (vLLM workload).
ashishsuneja
force-pushed
the
jvm_app_startup_pr3
branch
from
July 14, 2026 14:00
b4bb430 to
6fc576a
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.
PR 3 of 3 — Baseline/Optimized Scenario + CPU Startup Boost via VPA.
Stacked on PR #6865 (PR 1) and PR #6867 (PR 2). Please review after both merge.
Completes the 4-configuration benchmark matrix:
scenario=baseline, cloud=GCP)scenario=baseline, cloud=AWS)scenario=baseline, cloud=Azure)scenario=optimized, cloud=GCP)Changes:
--kubernetes_deployment_startup_boost_factorflag (default 2, per Kam's guide).CheckPrerequisites(): raises ifscenario=optimizedon non-GCP or with vLLM.GetConfig(): setsenable_vpa=Trueforscenario=optimized.Prepare(): applies VPA manifest withcpuBoostFactorfor optimized scenario.Run(): addsboost_factorto all sample metadata for cross-config comparison.slowjvmstartup_vpa.yaml.j2: VPA with startup boost policy targeting the JVM deployment.Note: Exact VPA startup-boost policy fields follow Kam's linked guide.