Applications
Applications are the deployable units running on Kamui Platform.
Application Types
Dynamic App
Server-side applications.
| Supported Language | Examples |
|---|---|
| Node.js | Express, Next.js, Fastify, etc. |
| Go | Echo, Gin, standard net/http, etc. |
| Python | Flask, FastAPI, Django, etc. |
Static App
Sites consisting only of static files (HTML, CSS, JavaScript).
- SPA (Single Page Application)
- Static site generator output (Hugo, Gatsby, Astro, etc.)
- Simple HTML sites
Creating an Application
Dynamic App
- In the project detail screen, click "New App" → "Dynamic App"
- Enter basic settings:
| Field | Description | Example |
|---|---|---|
| App Name | Name of the application | api-server |
| Language | Programming language to use | Node.js / Go / Python |
- Select deploy source:
From GitHub Repository
| Field | Description | Example |
|---|---|---|
| Repository | Source repository | myorg/my-api |
| Branch | Branch to deploy | main |
| Directory | Subdirectory for monorepos | apps/api (empty for root) |
- Build settings:
| Field | Description | Example |
|---|---|---|
| Start Command | App startup command | npm start |
| Setup Command | Install dependencies | npm install |
| Pre-deploy Command | Build command | npm run build |
- Runtime settings:
| Field | Description | Default |
|---|---|---|
| Health Check Endpoint | Path for health checks | /health |
| Replicas | Number of instances | 1 |
- Optional settings:
- Environment variables
-
Database connection
-
Click "Create"
Static App (GitHub)
- Click "New App" → "Static App" → "GitHub"
- Enter settings:
| Field | Description | Example |
|---|---|---|
| App Name | Name of the application | my-website |
| Repository | Source repository | myorg/website |
| Branch | Branch to deploy | main |
| Directory | Public directory | dist, build |
| Spec | Resource size | Nano / Small / Medium / Large |
| Replicas | Number of instances | 1 |
- Click "Create"
Static App (Upload)
Deploy by uploading local files directly.
- Click "New App" → "Static App" → "Upload"
- Select a directory or ZIP file
- Click "Create"
Note: An
index.htmlfile must exist at the root.
Deployment Flow
git push → Build starts → Image created → Deploy → Health check → Complete
- Pushing to GitHub automatically starts the build
- Setup command and pre-deploy command run in sequence
- Docker image is created and deployed to Kubernetes
- Traffic switches over after health check succeeds
Viewing Deploy Logs
- Open the app detail screen
- Click the "Deploy History" tab
- Select the deployment to inspect
- View build logs and deploy logs
Viewing Application Logs
- Open the app detail screen
- Click the "Logs" tab
- View real-time or historical logs
Redeploying
To manually redeploy without pushing to GitHub:
- Open the app detail screen
- Click the "Redeploy" button
- Rebuild and deploy with the latest commit
Setting Environment Variables
- Click the "Settings" tab in the app detail screen
- Add or edit in the "Environment Variables" section
- Click "Save"
Note: Changing environment variables will restart the app.
Editing an Application
- Click the "Settings" tab in the app detail screen
- Editable fields:
- App name
- Spec
- Replicas
- Environment variables
- Database connection
- Click "Save"
Deleting an Application
- Click the "Settings" tab in the app detail screen
- Click "Delete App"
- Enter the app name in the confirmation dialog
- Click "Delete"
⚠️ Warning: This action cannot be undone.
CLI Commands
# List apps
kamui apps list --project <project-name-or-id>
# Create an app (interactive)
kamui apps create
# Create an app in a specific project
kamui apps create --project my-project
# Delete an app
kamui apps delete <app-name-or-id>
# Delete without confirmation
kamui apps delete <app-name-or-id> --yes