Skip to content

Ignore deleting instances' unavailable capacity in required instances calculation

Arran Walker requested to merge ajwalker/fix-capacity-calc-reservations into main

Two fixes:

  • Fixed reservations from preventing scaling down when it's okay to do so

  • Ignore deleting instances' unavailable capacity in required instances calculation

    When an instance has been marked for removal, it still exists and reports full unavailability. When an instance's state is Deleting though, we want to essentially pretend that it doesn't exist. By not doing so, it would instead report an unavailable capacity that is counted towards running/requested instances.

Merge request reports