Skip to content
This repository was archived by the owner on May 14, 2025. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type/bug Is a bug report
Development

No branches or pull requests

1 participant