Skip to content

A way to programmatically disable scalers/triggers temporarily #7234

@aliaqel-stripe

Description

@aliaqel-stripe

Proposal

Recently, a use case as arisen with us where we would like to disable a scaler or trigger without changing the scaled object definiton of a service. The idea here is that we can temporarily disable the scaler without a redeployment or a code change.

I would imagine this being a ScaledObject level annotation.

Use-Case

A service that is providing data for a scaler is misbehaving, however, we have decided this is not worth having the HPA block scale down via other scalers due to this scaler's errors. We set this annotation on our ScaledObjects via a controller or manual action and when the outage subsides, we can remove the annotation and things return to normal

Is this a feature you are interested in implementing yourself?

Yes

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    To Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions