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 around the management of ScaledObjects resources #3522

Closed
3 tasks
tomkerkhove opened this issue Aug 9, 2022 · 1 comment
Closed
3 tasks
Assignees
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.scaledobject.created.v1
  • keda.scaledobject.updated.v1
  • keda.scaledobject.removed.v1

Payload:

{
    "specversion" : "1.0",
    "type" : "keda.scaledobject.created.v1",
    "subject" : "/{kubernetes-cluster-name}/{namespace}/scaled-objects/{resource-name}/",
    "time" : "2018-04-05T17:31:00Z",
    "datacontenttype" : "application/json",
    "data" : {
      "scaleTarget": {
         "name": "sample-workload",
         "apiVersion": "Deployment",
         "kind": "apps/v1",
      },
      "replicas": {
         "min": 0,
         "max": 10,
         "idle": 0,
      },
      "triggers": [
        {
          "type": "CPU",
          "type": {
            // Trigger information
          }
        }
      ],
      "intervals": {
         "cooldown": 300,
         "polling": 30
      },
      "fallback": {
         "threshold": 3,
         "replicas": 6
      }
   }
}

Use-Case

Allow end-users to react to changes to their ScaledObjects by using our EventSource CRD

Anything else?

Relates to #479

@tomkerkhove tomkerkhove added feature All issues for new features that have been committed to cloudevents All events related to CloudEvents to extend KEDA 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 operations labels Aug 9, 2022
@tomkerkhove tomkerkhove added this to the CloudEvents - Initial version milestone Aug 9, 2022
@tomkerkhove tomkerkhove moved this from Proposed to To Do in Roadmap - KEDA Core Aug 9, 2022
@tomkerkhove tomkerkhove removed this from the CloudEvents - Initial version milestone Aug 9, 2022
@tomkerkhove tomkerkhove moved this from To Do to In Progress in Roadmap - KEDA Core Jul 8, 2024
@tomkerkhove
Copy link
Member Author

@SpiritZhou Are you planning on implementing the updated scenario as well?

@github-project-automation github-project-automation bot moved this from In Progress to Ready To Ship in Roadmap - KEDA Core Aug 22, 2024
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: Ready To Ship
Development

No branches or pull requests

2 participants