SIGN IN SIGN UP

Hyper core balancer (#21)

* initial upload

* Fix usage instructions and update configuration comments

* Update HyperCore_balancer.py

* Update README.md

* Update HyperCore_balancer.py

Based on recommendations by Dave, i added a check for environment vars using the same format as Ansible. Also added the option to exclude one or more nodes from being evaluated, for cornercases where one of the nodes in a cluster should be dedicated to one task (e.g. single GPU node in cluster or Oracle licensing etc)

* env var updates

Made all vars configurable through env vars.

* removed clearing the preferred node

When removing preferred node an error message appears on cluster because it does not know where to move it.

* small docu comments fix

changed node_101 to node_1 to more clearly explain how the node_x should be formatted to work.

* previous update broke node affinity.

Fixed node affinity

* fix for witness

* Exclusion order of operations

Fixed an error where a node that is excluded will still be determined as the coolest node.

* multiple updates

check for upgrade in progress
when primary node down connect to others
updated readme.md

* Fixed a small omission with node affinity

Also cleaned up some comments that were there for debugging purposes.
W
wvcollenburg committed
2efd47864956df5e47e2569e67393fb2e04260ee
Parent: 7313d95
Committed by GitHub <noreply@github.com> on 11/4/2025, 2:52:54 PM