Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature: Add maintenance mode to evacuate a node and move workloads for other nodes in the cluster. #87

Merged
merged 1 commit into from
Oct 7, 2024

Conversation

gyptazy
Copy link
Owner

@gyptazy gyptazy commented Oct 7, 2024

feature: Add maintenance mode to evacuate a node and move workloads for other nodes in the cluster.

General

This PR adds a maintenance mode to ProxLB which evacuates all workloads of type VM and CT to other nodes in cluster. One or multiple nodes can be defined at the same time.

Usage

This feature can be used in two different ways.

CLI Arg

It can be passed as a comma separated list when invoking proxlb. Example:

./proxlb -m virt01,virt02

Config

It can also be defined in the proxlb.conf file by adding the following line within the vm_balancing section:

maintenance_nodes: virt01,virt02

You can also combine both ones, the nodes will be merged.

Fixes

Fixes: #58
Fixes: #84

@gyptazy gyptazy added the feature label Oct 7, 2024
@gyptazy gyptazy added this to the Release 1.0.4 milestone Oct 7, 2024
@gyptazy gyptazy self-assigned this Oct 7, 2024
@gyptazy gyptazy force-pushed the feature/58-add-maintenance-mode branch from 09fe082 to f73261e Compare October 7, 2024 15:29
@gyptazy gyptazy merged commit 486acad into main Oct 7, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature: Putting hosts in to Maintenance Mode. Feature: Add a maintenance mode which evacuates all VMs/CTs
1 participant