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

Multi Pod Job Execution #5647

Closed
umutcann opened this issue Jan 19, 2024 · 1 comment
Closed

Multi Pod Job Execution #5647

umutcann opened this issue Jan 19, 2024 · 1 comment
Labels
status/need-triage Team needs to triage and take a first look

Comments

@umutcann
Copy link

umutcann commented Jan 19, 2024

Hi,

We use SCDF to deploy Spring Batch app to our internal kubernetes environment creating task for each app. Normally batch app is running on one pod. But we would like to run batch apps on multiple pods .

I read the blog below, It suggests that running batch app using partitioned job makes sense for multi pod job execution.

https://spring.io/blog/2021/01/27/spring-batch-on-kubernetes-efficient-batch-processing-at-scale/

Is there any reference documentation or architectural solution for that requirement?

How should we deploy partitioned job to kubernetes using Spring Cloud Data Flow?

@github-actions github-actions bot added the status/need-triage Team needs to triage and take a first look label Jan 19, 2024
@cppwfs
Copy link
Contributor

cppwfs commented Jan 19, 2024

Great Question!
Yes, there is a feature in Spring Cloud Task that supports the execution of remote batch partitions. And more can be read about it here.
There is a sample application in Spring Cloud Task that you can use to test and it can be found here.

There is an issue in Spring Cloud Deployer open which says that when launching pods asynchronously that some pods fail to get launched because they use the same name. There is a PR for it, but it did not make it in before code freeze. So for now partitions can only be launched synchronously for Kubernetes.

@cppwfs cppwfs closed this as completed Jan 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status/need-triage Team needs to triage and take a first look
Projects
None yet
Development

No branches or pull requests

2 participants