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

Reusing PVC #2357

Open
1 task done
cgpoh opened this issue Dec 12, 2024 · 0 comments
Open
1 task done

Reusing PVC #2357

cgpoh opened this issue Dec 12, 2024 · 0 comments

Comments

@cgpoh
Copy link

cgpoh commented Dec 12, 2024

What question do you want to ask?

  • ✋ I have searched the open/closed issues and my issue is not listed.

When my Spark job fails, I need it to restart from a saved checkpoint stored in my PV. Does the Spark Operator support reusing PVC? Currently, whenever I uninstall my Spark job, the associated PVC is also deleted. Are there any options to enable the Spark job to reuse the PVC and resume from the checkpoint?

As a workaround, I set the RestartPolicy to Never. When a job fails, I manually remove the resourceVersion and uid keys from the PV's claimRef section and then redeploy the Spark job. It would be great if this process could be automated.

Additional context

No response

Have the same question?

Give it a 👍 We prioritize the question with most 👍

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

No branches or pull requests

1 participant