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 ScaledJobs resources #3523

Closed
3 tasks
tomkerkhove opened this issue Aug 9, 2022 · 0 comments
Closed
3 tasks
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

tomkerkhove commented Aug 9, 2022

Proposal

Event Types

  • keda.scaledjob.created.v1
  • keda.scaledjob.updated.v1
  • keda.scaledjob.removed.v1

Payload:

{
    "specversion" : "1.0",
    "type" : "keda.scaledjob.created.v1",
    "subject" : "/{kubernetes-cluster-name}/{namespace}/scaled-jobs/{resource-name}/",
    "time" : "2018-04-05T17:31:00Z",
    "datacontenttype" : "application/json",
    "data" : {
      "jobTargetRef": {
         "template": {
           // Omitted for sake of simplicity
         },
         "parallelism": 1,
         "completions": 1,
         "backoffLimit": 6,
         "activeDeadlineSeconds": 600,
      },
      "rolloutStrategy": "gradual",
      "replicas": {
         "max": 10
      },
      "jobHistory": {
         "limits": {
           "successful": 5,
           "failure": 5
         }
      },
      "triggers": [
        {
          "type": "CPU",
          "name": "<trigger-name>",
          "metadata": {
            // Trigger information
          }
        }
      ],
      "intervals": {
         "polling": 30
      }
   }
}


Use-Case

Allow end-users to react to changes to their ScaledJobs.

Anything else?

No response

@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 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
@github-project-automation github-project-automation bot moved this from To Do 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