Member-only story
Lab7 (Spring Boot/K8S): Spring Batch on Kubernetes — Jobs and CronJobs
9 min readJul 15, 2024
Welcome back to our k8s series. In this story, we’ll learn how Kubernetes Jobs and CronJobs work in practice.
Press enter or click to view image in full size![]()
· Understanding Jobs in Kubernetes
∘ Kubernetes Job Types
∘ Defining a Job resource
· CronJob in Kubernetes
∘ What are Kubernetes CronJobs
∘ Writing a CronJob spec
∘ How to Create CronJob in Kubernetes
· Spring Batch on Kubernetes
∘ Let’s Code
∘ Testing
· Conclusion
· References
This series of stories shows how to use Kubernetes in the Spring ecosystem. We work with a Spring Boot API and Minikube to have a lightweight and fast development environment similar to production.
- Lab1 (Spring Boot/K8S): Deploy Spring Boot application on Kubernetes
- Lab2 (Spring Boot/K8S): Kubernetes health probes with Spring Boot
- Lab3 (Spring Boot/K8S): Mastering ConfigMaps in Kubernetes
- Lab4 (Spring Boot/K8S): Using Kubernetes Secrets in Spring Boot
- Lab5 (Spring Boot/K8S): Understanding Kubernetes…
