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

Keep the populator pod on failure (backport) #650

Merged
merged 4 commits into from
Nov 12, 2023

Conversation

liranr23
Copy link
Member

This patch will keep the populator pod existence when failing. It won't restart or recreated. This is in the mind of aligning with v2v pod failure and the thought that once we fail, we will most likely keep failing. This change will allow to get the populator logs in case of failure in a easy way.

This patch will keep the populator pod existence when failing. It won't
restart or recreated. This is in the mind of aligning with v2v pod
failure and the thought that once we fail, we will most likely keep
failing. This change will allow to get the populator logs in case of
failure in a easy way.

Signed-off-by: Liran Rotenberg <[email protected]>
Signed-off-by: Liran Rotenberg <[email protected]>
This change will count the number of restarts for the populator pod on
the destination PVC. That allows us to limit the number of recreations
of the pod. After 3 attempts, it will stop recreating it.

Signed-off-by: Liran Rotenberg <[email protected]>
@liranr23 liranr23 requested a review from ahadas as a code owner November 12, 2023 16:49
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@ahadas ahadas merged commit 092bd67 into kubev2v:release-v2.5.3 Nov 12, 2023
7 checks passed
@liranr23 liranr23 deleted the populator_logs branch November 12, 2023 16: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.

2 participants