-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathconfig.yaml
43 lines (37 loc) · 1.33 KB
/
config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# KEEP THE MARGINS AND FILE STRUCTURE!!!
# Proxmox node address and authorization information
proxmox:
url:
ip: 127.0.0.1
port: 8006
auth:
username: 'root@pam'
password: 'PASSWORD'
# Balancing Parameters
parameters:
deviation: 4 # Percentage of allowable deviation of the RAM load of the node
threshold: 90 # Percentage of maximum load
lxc_migration: OFF # Container migration (LXCs are rebooted during migration!!!)
migration_timeout: 1000 # For the future
only_on_master: OFF # Only run PLB on the current cluster master
# List of exclusions
exclusions:
vms: [] # Example: [100] or [100, 101, 102, 113, 125, 131] or ["100-200", 300, 301]
nodes: [] # Example: [px-3] or [px-3, px-4, px-8, px-9]
# Loguru settings
logging_level: 'INFO' # You can choose 'DEBUG" or "INFO" or "WARNING" or "ERROR"
# Mail settings
mail:
sending: OFF # ON or OFF (Enables/disables sending email)
message_subject: 'Load-balancer notification'
from: '[email protected]'
to: '[email protected]'
login: 'user' # Login options: login, domain\login, [email protected]
password: 'MAIL_PASSWORD'
server:
address: 'mx.domain.com' # IP or address of your mail server
port: 25
ssl_tls: OFF # ON or OFF
# Others
Gigabyte: 1073741824 # 1e+9 for 10^9
Terabyte: 1099511627776 # 1e+12 for 10^12