Skip to content

Commit

Permalink
Update scaling_manager.py
Browse files Browse the repository at this point in the history
  • Loading branch information
fabriziosalmi authored Aug 20, 2024
1 parent 0ac3779 commit d958751
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lxc_autoscale/scaling_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,10 @@ def adjust_resources(containers, energy_mode):
containers (dict): A dictionary of container resource usage data.
energy_mode (bool): Flag to indicate if energy-saving adjustments should be made during off-peak hours.
"""

# Log the IGNORE_LXC list at the start
logging.info(f"Ignoring LXC Containers: {IGNORE_LXC}")

total_cores = get_total_cores()
total_memory = get_total_memory()

Expand Down

0 comments on commit d958751

Please sign in to comment.