Skip to content

Commit

Permalink
Update lxc_autoscale.yaml
Browse files Browse the repository at this point in the history
- horizontal scale out added (via snapshot + clone)
- params added for horizontal scaling
  • Loading branch information
fabriziosalmi authored Aug 16, 2024
1 parent 81024e5 commit 5f9f3f7
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion etc/lxc_autoscale/lxc_autoscale.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,20 @@ DEFAULT:
# min_memory: 1024
# lxc_containers:
# - 100
# - 101
# - 101

## Horizontal scaling groups
# remove comments below to enable (WARNING: experimental)

#HORIZONTAL_SCALING_GROUP_1:
# base_snapshot_name: "101"
# min_instances: 2
# max_instances: 5
# starting_clone_id: 99000 # Starting ID for clones
# clone_network_type: "static" # or "dhcp"
# static_ip_range: ["192.168.100.195", "192.168.100.200"]
# horiz_cpu_upper_threshold: 5
# horiz_memory_upper_threshold: 5
# group_tag: "horiz_scaling_group_1" # Optional tag for identifying clones of this group
# lxc_containers:
# - 101

0 comments on commit 5f9f3f7

Please sign in to comment.