Provide support for explicitly pausing autoscaling of workloads. #944
Closed
Description
Provide support for explicitly stating workloads to scale to zero without the option of scaling up.
This can be useful for manually scaling-to-zero instances because:
- You want to do maintenance
- Your cluster is suffering from resource starvation and you want to remove non-mission-critical workloads
Why not delete the deployment? Glad you've asked! Because we don't want to touch the applications themselves but merely remove the instances it is running from an operational perspective. Once everything is good to go, we can enable it to scale again.
Suggestion
Introduce a new CRD, for example ManualScaleToZero
, which targets a given deployment/workload and provides a description why it's scaled to 0 for now.
If scaled objects/jobs are configured, they are ignored in favor of the new CRD.
Metadata
Assignees
Type
Projects
Status
Done