-
Notifications
You must be signed in to change notification settings - Fork 227
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
[SURE-9061] Jobs are not cleaned up from local cluster #2870
Comments
This can help to identify completed jobs that have not been cleaned up:
|
|
Additional QAProblemFleet is not deleting the jobs related to Solution
TestingTest a few scenarios so cover all the possible cases
In any test, the job should only stay if it is not successful, otherwise it should be deleted. |
Is there an existing issue for this?
Current Behavior
In Rancher local cluster, for each commit/change in each
GitRepo
, there is aJob
started by Fleet. There is nothing to clean up these Jobs, so you will quickly end up with hundreds of lingeringJob
objects and their completed Pods.I didn't notice this behavior in Fleet 0.9.x, so I assume something in 0.10.x introduced these Jobs. I was assuming this is related to automatic chart dependency update, but setting
disableDependencyUpdate
totrue
doesn't seem to affect.Expected Behavior
Unnecessary Job objects are cleaned up, e.g. by setting some sane default for
.spec.ttlSecondsAfterFinished
: https://kubernetes.io/docs/concepts/workloads/controllers/ttlafterfinished/Steps To Reproduce
Job
objectsEnvironment
Logs
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: