services:sizing_policy:set.
For more information, see the Autoscaling documentation
Synopsis
Usage:
aptible services:autoscaling_policy:set SERVICE [flags]
Flags:
--app string App handle
--autoscaling-type string Autoscaling type: horizontal or vertical (required)
-e, --env string Environment handle (alias)
--environment string Environment handle
--max-containers int32 Maximum container count (horizontal only)
--max-cpu-threshold float32 Maximum CPU threshold (horizontal only)
--maximum-memory int32 Maximum memory in MB (vertical only)
--mem-cpu-ratio-c-threshold float32 Memory/CPU ratio C threshold (default 2)
--mem-cpu-ratio-r-threshold float32 Memory/CPU ratio R threshold (default 4)
--mem-scale-down-threshold float32 Memory scale down threshold (vertical only) (default 0.75)
--mem-scale-up-threshold float32 Memory scale up threshold (vertical only) (default 0.9)
--metric-lookback-seconds int32 Metric lookback window in seconds (default 1800)
--min-containers int32 Minimum container count (horizontal only)
--min-cpu-threshold float32 Minimum CPU threshold (horizontal only)
--minimum-memory int32 Minimum memory in MB (vertical only) (default 2048)
--percentile float32 Percentile for metric evaluation (default 99)
--post-release-cooldown-seconds int32 Cooldown after release (default 60)
--post-scale-down-cooldown-seconds int32 Cooldown after scale down (default 300)
--post-scale-up-cooldown-seconds int32 Cooldown after scale up (default 60)
--restart-free-scale Scale without restarting (horizontal only)
--scale-down-step int32 Containers to remove per scale down (horizontal only) (default 1)
--scale-up-step int32 Containers to add per scale up (horizontal only) (default 1)

