kube-scheduler

command module
v0.0.0-...-5a60d54 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 4, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

README

kube-scheduler

Deploying

  • Create a WattTime account: https://www.watttime.org/api-documentation/#register-new-user
  • Create PriorityClass
  • Annotate nodes with:
    • bmc.siderolabs.com/endpoint
    • bmc.siderolabs.com/username
    • bmc.siderolabs.com/password
  • Deploy the scheduler
  • Create pod with priorityClassName referencing the PriorityClass created above
  • Create pod with schedulerName set to kube-scheduler-siderolabs

Logic

  • 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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
apis
pkg
bmc

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL