GitHub Repo stars

hanoi-cli analyzes pod distribution across nodes, detects resource imbalance, generates safe redistribution plans, and simulates node failures - all without touching your cluster. The name is inspired by the Tower of Hanoi puzzle: controlled movement of workloads between constrained pegs.

Features

  • Imbalance detection - CPU and memory utilization per node, standard deviation, hotspot flagging.
  • Redistribution planning - greedy optimizer that suggests pod moves to reduce cluster drift.
  • Node failure simulation - remove a node, see which pods can be rescheduled.
  • Move explanations - deep-dive into why a specific move was chosen.
  • Full constraint awareness - respects node selectors, affinity, taints, DaemonSets, etc.

View on GitHub