Skip to main content

Axum (Rust) on Kubernetes

Axum logoAxum logo

Rust web services on Tokio, with SQLx migrations.

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

axum:new writes a Rust web service on Axum and the Tokio runtime, with SQLx for compile-time-checked queries and the services you pick.

Not deployable yet

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

Rust has no official web-project generator, so LaraKube CLI writes the starting files itself, including Cargo.toml, then asks:

ChoiceOptionsWith --fast
Database (through SQLx)PostgreSQL (recommended), MySQL, MariaDBPostgreSQL
CacheRedis (recommended, via redis-rs), MemcachedRedis
Object storageNone, MinIO (recommended), SeaweedFS, GarageMinIO
SearchNone, Meilisearch, TypesenseNone

🧱 What your app is set up for

PieceDetail
ServerAxum on Tokio, listening on port 8080
Migrationssqlx migrate run — set up in the project, not yet run on deploy
Health check/healthz

🏘️ Plex Commons

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

➡️ Next