Let's Generate Art With Kubernetes And Spring!
summary
A runnable app that takes prompts, launches one Kubernetes job per prompt, calls OpenAI (DALL·E), and saves prompt+image URL into PostgreSQL is built and deployed on DigitalOcean Kubernetes; jobs run in parallel and the launcher uses RBAC role bindings (default service account) to create jobs. Implementation uses Spring AI, Spring Data, Spring Web and Thymeleaf; images cost about $0.10 each and expire quickly unless stored; demo works with small live hiccups.
AI-written summary · about
chapters (12)
- 0:00Introduction to Art AI
- 1:24Project infrastructure
- 2:41Spring Boot project setup
- 4:00Database and image service
- 5:13Kubernetes RBAC permissions
- 7:26Deploying the infrastructure
- 9:38Code implementation
- 15:01Database verification
- 17:01Image generation logic
- 22:00Configuring the launcher
- 26:44Demonstrating the final app
- 30:56Questions and answers
