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

Add conditions to status field of snoopy job crd #77

Open
csfreak opened this issue Mar 23, 2022 · 0 comments
Open

Add conditions to status field of snoopy job crd #77

csfreak opened this issue Mar 23, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@csfreak
Copy link
Contributor

csfreak commented Mar 23, 2022

Make use of status conditions to track the state of jobs and cronjobs

examples can be found at http://heidloff.net/article/storing-state-status-kubernetes-resources-conditions-operators-go/

We should support conditions of Failed, In Progress, and completed as a minimum. We should also check these statuses.

We may need to handle jobs and cronjobs in slightly different manners, as completed never really makes since for a cron job, but other conditions like scheduled do make since.

Some of these conditions may depend on the condition of the underlying jobs/cron jobs.

@csfreak csfreak added the enhancement New feature or request label Mar 23, 2022
@csfreak csfreak self-assigned this Mar 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant