Skip to content

Add tabbed DatadogPodAutoscaler example configurations to autoscaling docs#34457

Merged
Danny-Driscoll merged 1 commit intomasterfrom
ddriscoll/autoscaling-dpa-examples
Feb 7, 2026
Merged

Add tabbed DatadogPodAutoscaler example configurations to autoscaling docs#34457
Danny-Driscoll merged 1 commit intomasterfrom
ddriscoll/autoscaling-dpa-examples

Conversation

@Danny-Driscoll
Copy link
Contributor

What does this PR do?

Upgrades the Kubernetes Autoscaling docs by replacing the single collapsed DatadogPodAutoscaler example with 4 tabbed examples showing common scaling strategies:

Tab Strategy Key Config
Optimize Cost Multidimensional 85% CPU target, minReplicas: 1, aggressive scale-down
Optimize Balance Multidimensional 70% CPU target, minReplicas: 2, conservative scale-down
Vertical CPU and Memory Vertical only No horizontal objectives, scaleDown/scaleUp disabled
Horizontal Custom Query Horizontal only Custom Datadog metric query, update strategy disabled

Each tab includes:

  • A description of the use case and when to use it
  • A complete, annotated YAML example with inline comments
  • Placeholder tokens (<WORKLOAD_NAME>, <NAMESPACE>, etc.) for easy customization

Motivation

The previous single example didn't cover the range of scaling strategies available with the DatadogPodAutoscaler CRD. These 4 examples match the template profiles available in the Datadog UI (Optimize Cost, Optimize Balance, Vertical only, Horizontal with Custom Query) and give users copy-pasteable starting points.

Additional Notes

Uses the existing {{< tabs >}} shortcode pattern already used elsewhere on the page (Setup, Cost sections).

Replace single collapsed DPA example with 4 tabbed examples showing
common scaling strategies:
- Optimize Cost: aggressive multidimensional scaling, 85% CPU target
- Optimize Balance: conservative multidimensional scaling, 70% CPU target
- Vertical CPU and Memory: vertical-only pod rightsizing
- Horizontal Custom Query: horizontal scaling on custom Datadog metrics

Each tab includes a description of the use case and annotated YAML.
@Danny-Driscoll Danny-Driscoll requested a review from a team as a code owner February 6, 2026 21:48
@github-actions
Copy link
Contributor

github-actions bot commented Feb 6, 2026

Preview links (active after the build_preview check completes)

Modified Files

@Danny-Driscoll Danny-Driscoll merged commit 80cb3ed into master Feb 7, 2026
24 of 26 checks passed
@Danny-Driscoll Danny-Driscoll deleted the ddriscoll/autoscaling-dpa-examples branch February 7, 2026 18:38
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.

3 participants