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

Create Re-Usable Keptn Lifecycle Toolkit Task template for CDEvents #30

Open
agardnerIT opened this issue May 22, 2023 · 2 comments
Open

Comments

@agardnerIT
Copy link

KLT wraps the Kubernetes scheduler and can trigger arbitrary tasks before and after a pod is scheduled.

This issue covers the creation of a template KeptnTaskDefinition that emits a CDevent.

@afrittoli
Copy link
Contributor

Thanks @agardnerIT - is this a kind of plugin to Keptn or is this something meant to ship as part of Keptn itself?

As I understand it, the goal is to be able to send CDEvents from Keptn.
For other tools we've used an issue on CDEvents side to track progress and on issue on the tool side with the RFC / detail designed to be discussed by the tool community with collaboration from the CDEvents team.
Do you think that would work for Keptn as well?

See https://github.com/orgs/cdevents/projects/4

@agardnerIT
Copy link
Author

agardnerIT commented May 24, 2023

I suppose it could (loosely) be called a plugin, but it's really much more lightweight than that.

On the Keptn side you define a KeptnTaskDefinition which references a TypeScript script .

The SRE can then decide (via annotations) when this task fires (pre-pod-schedule, post-schedule or both).

On the Keptn side, the goal is to pull together a set of generic-enough, reusable tasks that provide a starting point for customisation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Status: No status
Development

No branches or pull requests

2 participants