[CLOUDPREM-889] Align the DatadogBYOCCluster sizing and defaults with the CloudPrem Helm chart #3759
All Vouch review confidence checks passed
Residual risk 0.26 = Change Risk (0.66) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.66 · 399 lines diff across 4 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.358
Shallow Review Depth
shallow_review_depth
0.289
Sensitive Paths
sensitive_paths
0.066
Real PR Conversation Timeline
1 comments
"Review active on #3759"
general
weight: 0.35
shuheiktgw
What does this PR do?
Aligns the
DatadogBYOCClustercontroller with the CloudPrem Helm chart: the node config sized from the component resources follows the chart sizing map (sizing-map.yaml), and the operator sets the defaults that the chart sets.Node config sizing
ingest_api.max_queue_memory_usage): sized from the indexer CPU instead of 30% of its memory, as0.8GiB × 3^log2(cores / 2). This is the chart's 0.8 / 2.4 / 7.2 / 21.6 GiB for 2 / 4 / 8 / 16 cores (the value triples each time the cores double). The cores are the CPU request, or the limit, rounded up to a whole core, as the chart rounds its indexer CPU limit. The budget is capped at 40% of the memory limit (the chart's largest ratio is 37%).max_queue_disk_usagestays at 2× the WAL memory.fast_field_cache= GiB × 0.40625G,split_footer_cache= GiB × 31.25M,partial_request_cache= GiB × 15.625M. Memory under 1 GiB keeps its fraction so the caches are not sized to zero.max_num_concurrent_split_searches:ceil(GiB × 3.125)on the rounded-down GiB. This is the chart's former formula; its current hand-tuned values differ by at most 3 (xlarge 40 vs 38, 4xlarge 180 vs 179, 6xlarge 275 vs 272, 8xlarge 370 vs 369).Defaults
QW_ENABLE_LOCALITY_AWARE_SCHEDULING=trueon every Pomsky pod (chart 0.5.3).QW_ENABLE_IN_MEMORY_INDEXING=trueon indexers (chart 0.5.3) andQW_DISABLE_LOAD_ESTIMATION=trueon searchers (chart 0.5.5).QW_INDEXING_MAX_WRITE_THROUGHPUTon indexers at 12.5MiB per core, with the same cores as the WAL: the chart's 25 / 50 / 100 / 200 MiB for 2 / 4 / 8 / 16 cores (chart 0.5.3). It is not set without a CPU resource.min_connections: 10andmax_connections: 50(chart 0.5.3).QW_COMPACTOR_DECOMMISSION_TIMEOUTbecomes270s(chart 0.5.3).The
envof a component andnodeConfigOverridesstill override these defaults. Existing indexer, searcher, metastore and compactor pods roll out to pick up the new environment and node config.Additional notes
max_queue_disk_usageis still derived from the default WAL memory, not from an overriddenmax_queue_memory_usage. Overriding only the memory above the default disk value (e.g.max_queue_memory_usage: 6GiBwith 4 cores, where the disk default is 4.8GiB) fails Pomsky'sdisk >= memoryvalidation. The Helm chart has the same issue (it mergesconfigover the sizing map), so this PR leaves it as is.Checklist
bug,enhancement,refactoring,documentation,tooling, and/ordependenciesqa/skip-qalabel---
Jira: CLOUDPREM-889 (Epic: CLOUDPREM-431 / Initiative: LOPS-253)
[CLOUDPREM-889]: https://datadoghq.atlassian.net/browse/CLOUDPREM-889?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ