Skip to content

Commit

Permalink
Update lxc_autoscale.yaml
Browse files Browse the repository at this point in the history
thresholds updated
  • Loading branch information
fabriziosalmi authored Aug 20, 2024
1 parent bf0927f commit e6c2827
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lxc_autoscale/lxc_autoscale.yaml
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
DEFAULT:
# Interval (in seconds) between polling for resource usage and making scaling decisions.
poll_interval: 300
poll_interval: 600

# Threshold for CPU usage percentage that triggers scaling up (when CPU usage exceeds this value).
cpu_upper_threshold: 80
cpu_upper_threshold: 85

# Threshold for CPU usage percentage that triggers scaling down (when CPU usage falls below this value).
cpu_lower_threshold: 20
cpu_lower_threshold: 10

# Threshold for memory usage percentage that triggers scaling up (when memory usage exceeds this value).
memory_upper_threshold: 80

# Threshold for memory usage percentage that triggers scaling down (when memory usage falls below this value).
memory_lower_threshold: 20
memory_lower_threshold: 10

# Minimum number of CPU cores to add or remove in a single scaling operation.
core_min_increment: 1
Expand All @@ -27,7 +27,7 @@ DEFAULT:
min_cores: 1

# Maximum number of CPU cores allocated to an instance.
max_cores: 8
max_cores: 16

# Minimum amount of memory (in MB) allocated to an instance.
min_memory: 512
Expand Down

0 comments on commit e6c2827

Please sign in to comment.