litestar-deployment

Generate production deployment configurations for Litestar ASGI applications across Docker, Kubernetes, Cloud Run, Railway, and systemd.

13|Updated Apr 15, 2026
One-click install
npx skills add https://github.com/litestar-org/litestar-skills --skill litestar-deployment
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: litestar-deployment
Source: https://github.com/litestar-org/litestar-skills/tree/main/plugins/litestar/skills/litestar-deployment
Command: npx skills add https://github.com/litestar-org/litestar-skills --skill litestar-deployment

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Deploying Litestar ASGI applications to production requires consistent, secure configurations across multiple infrastructure targets, which is time-consuming and error-prone to build from scratch for each platform.

Core Features & Use Cases

  • Multi-platform deployment templates: Pre-written, production-tested configurations for Docker (standard and distroless), Kubernetes/GKE, Cloud Run, Railway, and bare-metal systemd.
  • Worker and infrastructure support: Includes patterns for separate SAQ worker containers, health check integration, and full local/staging stacks with Docker Compose.
  • Security and performance guardrails: Enforces best practices like non-root execution, distroless images, uv package management, and Granian ASGI server tuning.
  • Use Case: A backend engineer building a Litestar app with background task processing can use this skill to generate a production-ready Kubernetes deployment with HPA, health probes, and separate worker pods in minutes instead of hours.

Quick Start

Use the litestar-deployment skill to generate a production-ready distroless Dockerfile and Kubernetes deployment manifest for your Litestar app with SAQ worker support and health check integration.

Frequently Asked Questions about litestar-deployment

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I deploy a Litestar ASGI application to Kubernetes?

To deploy a Litestar ASGI application to Kubernetes, this skill generates production-tested manifests with Horizontal Pod Autoscaler support, health check probes, and separate SAQ worker pods. It automates secure orchestration configurations for Litestar apps in minutes.

What is the best way to containerize a Litestar app with Docker for production?

The best way to containerize a Litestar app for production is using generated Dockerfiles that enforce non-root execution, distroless images, uv package management, and Granian ASGI server tuning for secure, performant runtime environments.

Can I deploy Litestar apps to serverless platforms like Google Cloud Run or Railway?

Yes, you can deploy Litestar apps to serverless platforms like Google Cloud Run and Railway. This skill provides pre-written, production-tested configurations tailored for these environments, including environment-driven secret and configuration management.

Does the Litestar deployment configuration support background task workers?

Yes, Litestar deployment configurations support background task workers by including patterns for separate SAQ worker containers and pod setups, ensuring background processing integrates smoothly with your production infrastructure.

How do I configure health check probes for a Litestar ASGI server?

To configure health check probes for a Litestar ASGI server, this skill integrates health check endpoints directly into your generated Kubernetes, Cloud Run, and Docker Compose deployment manifests for reliable runtime monitoring.