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 owner cleanup #14

Merged
merged 2 commits into from
Aug 4, 2024
Merged

add owner cleanup #14

merged 2 commits into from
Aug 4, 2024

Conversation

vsoch
Copy link
Member

@vsoch vsoch commented Aug 4, 2024

In the case that a duration is set (the pod or pod template activeDeadlineSeconds) kick off a cleanup job to remove it from Kubernetes and the scheduler. Other deletions will need to be handled with events, which I will do next! I also changed my mind about the default deletion of 3600 - I think that can be dangerous for services or other stuffs that should not be expected to just end. We need to trust the users creating the abstractions.

@vsoch vsoch force-pushed the add-owner-cleanup branch from f32a992 to 3411e3a Compare August 4, 2024 07:54
In the case that a duration is set (the pod or pod
template activeDeadlineSeconds) kick off a cleanup
job to remove it from Kubernetes and the scheduler.
Other deletions will need to be handled with events,
which I will do next! I also changed my mind about
the default deletion of 3600 - I think that can be
dangerous for services or other stuffs that should
not be expected to just end. We need to trust the
users creating the abstractions. Also, pods that
are associated with jobs clean themselves up, so
we do not want to double mess with that.

Signed-off-by: vsoch <vsoch@users.noreply.github.com>
@vsoch vsoch force-pushed the add-owner-cleanup branch from 3411e3a to fa3d2e3 Compare August 4, 2024 07:56
Currently, this variable is not exposed via the grpc. We want to
expose it to customize it, but also be pedantic to say that we do
not want fluxion to return an error if the jobid does not exist.

Signed-off-by: vsoch <vsoch@users.noreply.github.com>
@vsoch vsoch merged commit 606e18b into main Aug 4, 2024
7 checks passed
@vsoch vsoch deleted the add-owner-cleanup branch August 4, 2024 08:59
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

Successfully merging this pull request may close these issues.

1 participant