Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide CloudEvents when workload(s) are scaling in/out #3526

Open
2 tasks
tomkerkhove opened this issue Aug 9, 2022 · 0 comments
Open
2 tasks

Provide CloudEvents when workload(s) are scaling in/out #3526

tomkerkhove opened this issue Aug 9, 2022 · 0 comments
Labels
cloudevents All events related to CloudEvents to extend KEDA extensibility All issues related to extensibility of KEDA feature All issues for new features that have been committed to operations

Comments

@tomkerkhove
Copy link
Member

Proposal

Event Types

  • keda.workload.scaling.scaleout.v1
  • keda.workload.scaling.scalein.v1

Payload:

{
    "specversion" : "1.0",
    "type" : "keda.workload.scaling.scaleout.v1",
    "subject" : "/{kubernetes-cluster-name}/{namespace}/workload/{resource-name}/",
    "time" : "2018-04-05T17:31:00Z",
    "datacontenttype" : "application/json",
    "data" : {
      "scaleTarget": {
         "name": "sample-workload",
         "apiVersion": "Deployment",
         "kind": "apps/v1",
      },
      "replicas": {
         "old": 1,
         "new": 4
      }
   }
}

Use-Case

Allow end-users to get notified when a workload is actively scaling out/in.

Anything else?

Given we rely on the HPA, we need to find a way to integrate with it to leverage this.

Relates to #479

@tomkerkhove tomkerkhove added needs-discussion feature-request All issues for new features that have not been committed to labels Aug 9, 2022
@tomkerkhove tomkerkhove moved this to Proposed in Roadmap - KEDA Core Aug 9, 2022
@tomkerkhove tomkerkhove added extensibility All issues related to extensibility of KEDA feature All issues for new features that have been committed to operations cloudevents All events related to CloudEvents to extend KEDA and removed needs-discussion feature-request All issues for new features that have not been committed to labels Aug 9, 2022
@tomkerkhove tomkerkhove moved this from Proposed to To Do in Roadmap - KEDA Core Aug 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cloudevents All events related to CloudEvents to extend KEDA extensibility All issues related to extensibility of KEDA feature All issues for new features that have been committed to operations
Projects
Status: To Do
Development

No branches or pull requests

1 participant