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

Re-create the pod "mount" if it already exists #4

Open
madura96 opened this issue Apr 25, 2023 · 0 comments
Open

Re-create the pod "mount" if it already exists #4

madura96 opened this issue Apr 25, 2023 · 0 comments

Comments

@madura96
Copy link
Owner

If we execute the program twice, it gives an error because it tries to create the same pod "mount" that was created in the first execution.
We should, re-create the pod or apply only the changes as in: kubectl apply -f pod.yaml (if changes are permitted).

NB: rename the pod from "mount" to "kpod-mount-pvc" to be more explicit

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