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

K8's deployer needs ability to launch pods without name collision #423

Open
cppwfs opened this issue Jan 4, 2024 · 0 comments
Open

K8's deployer needs ability to launch pods without name collision #423

cppwfs opened this issue Jan 4, 2024 · 0 comments
Labels
type/bug Is a bug report
Milestone

Comments

@cppwfs
Copy link
Contributor

cppwfs commented Jan 4, 2024

When remote partitioning a batch job you can specify a Executor like ThreadPoolTaskExecutor and thus the partitions are launched asynchronously and each partition launches a pod using the same instance of KubernetesTaskLauncher. What I noticed is that the same pod name was being re-used on some of the launch requests and thus an exception was thrown from Fabrik8 saying pod with x name already exists.

There is a PR 422 that I created that will synchronize the launch method and prevents the name from being overwritten.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Is a bug report
Projects
None yet
Development

No branches or pull requests

1 participant