Spring Boot on Kubernetes
Spring Boot on Java 21 LTS, with JPA, Flyway and Actuator.
larakube springboot:newspringboot:new writes a Spring Boot 3.4 application on Java 21 LTS, with Spring Data JPA for the database, Flyway for migrations, Actuator for health, and the services you pick.
springboot:new creates the app and its Kubernetes manifests, but there's no production image for it yet: it warns No production image template for Spring Boot yet and skips the Dockerfile. With no image, larakube up has nothing to run and cloud:deploy has nothing to ship. NestJS is the first framework through this path, and the rest follow one at a time.
🚀 Create a project
larakube springboot:new orders
LaraKube CLI writes the starting files itself, including a Gradle Kotlin build, then asks:
| Choice | Options | With --fast |
|---|---|---|
| Database (Spring Data JPA + Flyway) | PostgreSQL (recommended), MySQL, MariaDB | PostgreSQL |
| Cache | Redis (recommended), Memcached | Redis |
| Object storage | None, MinIO (recommended), SeaweedFS, Garage | MinIO |
| Search | None, Meilisearch, Typesense | None |
🧱 What your app is set up for
| Piece | Detail |
|---|---|
| Runtime | Java 21 LTS, listening on port 8080 |
| Migrations | Flyway — set up in the project, not yet run on deploy |
| Health check | /actuator/health, through Spring Boot Actuator |
🏘️ Plex Commons
Spring Boot apps will join the shared Plex Commons for their database, cache and storage once this scaffolder is verified.