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 ttlSecondsAfterFinished for migration-job #1600

Closed
wants to merge 1 commit into from
Closed

add ttlSecondsAfterFinished for migration-job #1600

wants to merge 1 commit into from

Conversation

kycheng
Copy link

@kycheng kycheng commented Sep 7, 2023

Signed-off-by: kychen [email protected]

#1599

@kycheng
Copy link
Author

kycheng commented Sep 21, 2023

@zyyw Can you help me review this PR?

Copy link
Collaborator

@zyyw zyyw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

According to this doc, there are two options that may achieve the purpose of deleting the job after the hook is successfully executed:

Should we use the first option to only delete the job when the hook is completed successfully? Therefore, users can still investigate the job log if anything goes wrong.

Copy link
Collaborator

@zyyw zyyw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe try the annotation option?

@kycheng
Copy link
Author

kycheng commented Sep 26, 2023

maybe try the annotation option?

@zyyw Yes, it can also be handled by annotation. The current default behavior is before-hook-creation. In the case of uninstallation, several strategies supported by helm do not seem to work well.

The problem I want to solve is that there should be no resources left after uninstalling.

Copy link

github-actions bot commented Feb 8, 2024

This PR is being marked stale due to a period of inactivty. If this PR is still relevant, please comment or remove the stale label. Otherwise, this PR will close in 30 days.

@github-actions github-actions bot added the Stale label Feb 8, 2024
Copy link

github-actions bot commented Mar 9, 2024

This PR was closed because it has been stalled for 30 days with no activity. If this PR is still relevant, please re-open a new PR against main.

@github-actions github-actions bot closed this Mar 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants