Session: Let’s Generate Art with Kubernetes, Java, and Spring!
The year is 2025, and it’s pretty safe to assume that most of us have used “Generative AI” (or GenAI) at least once to produce images from prompts. Rumors say that some of us even used that as an excuse to buy a fancy new GPU and run models like Stable Diffusion locally, “For Science!”, of course.
In this talk, we’ll set aside the feelings (positive or negative!) that we might harbor for generative AI and use them as an excuse, not to buy shiny new GPUs, but to learn how to build a practical Spring + Java application in a GenAI context and deploy it on Kubernetes.
Using Spring Data and Web, we’ll store prompts in a database and submit them to generative models via Spring AI. Image results will be stored and then displayed with Thymeleaf.
We’ll leverage Kubernetes jobs for processing, enforce security with RBAC, and use Grafana with Grafana Tempo for distributed tracing, visualizing request lifecycles as they move through our system.