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

Feature: support cron job #129

Open
Mossaka opened this issue May 29, 2024 · 3 comments
Open

Feature: support cron job #129

Mossaka opened this issue May 29, 2024 · 3 comments

Comments

@Mossaka
Copy link
Member

Mossaka commented May 29, 2024

For more info: https://github.com/fermyon/spin-trigger-cron

In general, I think we should reach feature parity between the spin CLI and the spin shim. A table that documents what features are implemented / not implemented is going to be useful

@tpmccallum
Copy link

Spin Cron Related: Does this solve the Cron feature request @Mossaka ?
https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/

Feature Partity Related: That is an awesome idea!!!
We, at Fermyon, have tables i.e. language support overview. Would something like this inside the SpinKube Documentation work?
https://developer.fermyon.com/spin/v2/language-support-overview

@devigned
Copy link
Contributor

I lean more toward K8s for scheduling cron jobs vs using an always running Spin application to run the job. However, I might be missing some benefit of using Spin's cron functionality rather than K8s. Is there a use case that the Spin cron trigger would make more sense than using K8s constructs?

@kate-goldenring
Copy link
Collaborator

I don't think we want to use K8s cron for this since running a spin app pod is the equivalent of a spin up. Running spin up on a cron basis wouldn't produce a result. Rather, we may want to support triggering a running app on a cron basis.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants