Skip to main content

Spring Boot on Kubernetes

Spring Boot logoSpring Boot logo

Spring Boot on Java 21 LTS, with JPA, Flyway and Actuator.

larakube springboot:new
🚧 Not deployable yet🏘️ Joins the Plex Commons once verifiedJavaScaffolds via templated

springboot: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.

Not deployable yet

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:

ChoiceOptionsWith --fast
Database (Spring Data JPA + Flyway)PostgreSQL (recommended), MySQL, MariaDBPostgreSQL
CacheRedis (recommended), MemcachedRedis
Object storageNone, MinIO (recommended), SeaweedFS, GarageMinIO
SearchNone, Meilisearch, TypesenseNone

🧱 What your app is set up for

PieceDetail
RuntimeJava 21 LTS, listening on port 8080
MigrationsFlyway — 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.

➡️ Next