Keep Storage Billed during Pause #660

Merged
tobru merged 3 commits from design/pause-storage-billing into main 2026-09-18 14:10:52 +00:00
Owner

Releates to #622

Releates to #622
Pausing sets spec.parameters.instances to 0, and build_calculator_inputs
uses that one number for both compute and storage, so the billing
annotation reports zero storage while the PVCs stay allocated.

Store the pre-pause replica count in a servala.com/pausedReplicas
annotation on the CR, bill main-component storage against it, and have
unpause restore it instead of hardcoding 1.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
tobru changed title from WIP: Keep Storage Billed during Pause to Keep Storage Billed during Pause 2026-09-18 12:55:40 +00:00
tobru force-pushed design/pause-storage-billing from 1a21f69c66 to 7de113f492
All checks were successful
Tests / test (push) Successful in 1m35s
2026-09-18 14:09:04 +00:00
Compare
tobru merged commit 818df09a9f into main 2026-09-18 14:10:52 +00:00
tobru deleted branch design/pause-storage-billing 2026-09-18 14:10:52 +00:00
Sign in to join this conversation.
No description provided.