You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Maintenace mode support for haproxy load balancer is already present in current code.
With maintenance_mode: True in haproxy properties in services and maintenance-type: "not bind" paramter in vrrp properties, we can set the haproxy in maintenance mode.
We need a mechanism for setting the maintenace mode on/off on haproxy.
We have a draft plan to create a new procedure named as "haproxy_mntc.py" and working on creating this procedure which will enable/disable maintenance mode on HAProxy.
This procedure will do the following-
Check if maintenance mode is supported by the cluster be checking presence of below parameter
loadbalancer:
haproxy:
maintenance_mode: True
If above mentioned parameter is missing, exit the procudure with error msg.
Do the config chnages required to enable/disable maintenance mode
Perform daemon reload and service restart for haproxy
It is necessary to implement maintenance procedure which switches haproxy mode. See maintenance mode and maintenance type.
Also, during cluster installation over an existing cluster, the mode should be reverted to default (not maintenance).
The high level proposal is described https://github.com/Netcracker/KubeMarine/pull/435/files/fc4536ea4ab1ab45cebed5b937888b9ad7d67dc4#r1197530570
The text was updated successfully, but these errors were encountered: