☑️ Ensure HPA has minimum replicas configured

When auto-scaling resource utilization is triggered with HPA (HorizontalPodAutoscaler), a range of acceptable values must be set to prevent unintended scaling down scenarios.

Targeted resources by this rule (types of kind): HorizontalPodAutoscaler

Enabled by default? True

Policy as code identifier: HPA_MISSING_MINREPLICAS_KEY

This rule will fail

If an HPA doesn't have minimum replicas configured

YAML

Rule output in the CLI

Terminal

How to fix this failure

YAML

Read more