- Create a WattTime account: https://www.watttime.org/api-documentation/#register-new-user
- Create
PriorityClass - Annotate nodes with:
bmc.siderolabs.com/endpointbmc.siderolabs.com/usernamebmc.siderolabs.com/password
- Deploy the scheduler
- Create pod with
priorityClassNamereferencing thePriorityClasscreated above - Create pod with
schedulerNameset tokube-scheduler-siderolabs
- Evict pods with
priority<index - Power off nodes when idle AND no pods are in the queue (pending) with
priority>=index - Power on nodes when pods are in the queue (pending) with
priority>=index