Skip to content

Support KEDA ScaledObject Temporal trigger as WorkerResourceTemplate #286

@carlydf

Description

@carlydf

Is your feature request related to a problem? Please describe.

Some people may prefer to use KEDA for scaling for various reasons. For example:

  • already have the KEDA External Metrics Provider in their cluster, and therefore are not able to install another metrics adapter as the External Metrics Provider in the same cluster
  • already use KEDA Temporal trigger for unversioned workers, and want to migrate to controller-supported versioning without changing their scaling resources

Describe the solution you'd like

kedacore/keda#7672 adds support for Worker Deployment Versioning to KEDA temporal trigger.

The WorkerResourceTemplate templating code in the worker controller will need to populate the new workerDeploymentName and workerDeploymentBuildId fields for each per-version KEDA ScaledObject it creates.

It will also need to fill in the scaleTargetRef of the KEDA ScaledObject with the per-version k8s Deployment name (might already do this, but need to test).

Additional context

We should also decide whether KEDA ScaledObject should be a white-listed resource in the default value for workerResourceTemplate.allowedResources. That is optional.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions