I have my current application batches developed on Spring Batch framework. Now I need to forklift the same to a Kubernetes platform for cloud nativity. Please help me with the following queries.
- How do I achieve auto scaling (HPA) for the spring batches.
- Whether spring batch remote partitioning is the recommended approach for auto scaling in k8s platform and any best practices for this approach. Like how to effectively scale-up and scale-down etc.
- What are the advantages of refactoring the current spring batch over Spring Cloud Task. Is this a best practice for cloud compliance.
Thanks
UPDATE
while choosing spring batch remote partitioning - whether worker containers should be configured over k8s deployment(pods) or k8s jobs. Any recommended approach ?
do we have hpa/autoscaling for k8s jobs ?
spring batch remote partitioning over k8s platform which is better - using MessagingPartitionHandler+k8s jobs(worker queue pattern) or (DeployerPartitionHandler+KubernetesTaskLauncher) ?