Add configurable monitoring interval

This commit is contained in:
Joshua Boniface 2023-09-15 22:31:16 -04:00
parent e995f3750b
commit 83636388f0
2 changed files with 2 additions and 0 deletions

View File

@ -14,6 +14,7 @@ pvc_log_node_lines: 2000 # The number of node log lines to store
# Timing and fencing configuration (uncomment to override defaults)
pvc_vm_shutdown_timeout: 180 # Number of seconds before a 'shutdown' VM is forced off
pvc_keepalive_interval: 5 # Number of seconds between keepalive ticks
pvc_monitoring_interval: 60 # Number of seconds between monitoring plugin runs
pvc_fence_intervals: 6 # Number of keepalive ticks before a node is considered dead
pvc_suicide_intervals: 0 # Number of keepalive ticks before a node consideres itself dead (0 to disable)
pvc_fence_successful_action: migrate # What to do with VMs when a fence is successful (migrate, None)

View File

@ -48,6 +48,7 @@ pvc:
intervals:
vm_shutdown_timeout: {{ pvc_vm_shutdown_timeout }}
keepalive_interval: {{ pvc_keepalive_interval }}
monitoring_interval: {{ pvc_monitoring_interval }}
fence_intervals: {{ pvc_fence_intervals }}
suicide_intervals: {{ pvc_suicide_intervals }}
fencing: