spec.autoScalingPolicy
field on PulsarBroker
CR and PulsarProxy
CR:
prometheus-community
Helm reposample-config.yaml
for Prometheus Adapter chartspec.autoScalingPolicy.metrics
:
cpu_usage
, network_in_rate_kb
and network_out_rate_kb
for Auto-Scaling.
To customize the scaling policy for Auto-Scaling, you can configure at the spec.autoScalingPolicy.behavior:
:
scaleDown
: Define the behavior while scaling down.scaleUp
: Define the behavior while scaling up.stabilizationWindowSeconds
: Stabilization window is used to restrict the flapping of replica count when the metrics used for scaling keep fluctuating.policies
: Define the scaling policy, you can limit the scaling number or percent in the periodSeconds
.