Skip to main content

Gin (Go) on Kubernetes

Gin logoGin logo

Fast Go HTTP services with GORM, shipped as a tiny static binary.

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

gin:new writes a Go web service on Gin with GORM for the database, go-redis for the cache and the services you pick — the kind of service that compiles to one small binary.

Not deployable yet

gin:new creates the app and its Kubernetes manifests, but there's no production image for it yet: it warns No production image template for Gin (Go) 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 gin:new api

Go has no single official project generator, so LaraKube CLI writes the starting files itself, then asks:

ChoiceOptionsWith --fast
Database (through GORM)PostgreSQL (recommended, via pgx), MySQL, MariaDBPostgreSQL
CacheRedis (recommended, via go-redis/v9), MemcachedRedis
Object storageNone, MinIO (recommended), SeaweedFS, GarageMinIO
SearchNone, Meilisearch, TypesenseNone

🧱 What your app is set up for

PieceDetail
ServerGin, listening on port 8080
Migrationsgolang-migrate — set up in the project, not yet run on deploy
Health check/healthz

🏘️ Plex Commons

Gin apps will join the shared Plex Commons for their database, cache and storage once this scaffolder is verified.

➡️ Next