ujust k3d
Lightweight Kubernetes clusters (k3s in Docker)
Quick Start
Follow the standard service lifecycle:
| Step | Command | Recording |
| 1. Config | ujust k3d config | |
| 2. Start | ujust k3d start | |
| 3. Status | ujust k3d status | |
| 4. Logs | ujust k3d logs | |
| 5. Stop | ujust k3d stop | |
Subcommands
Configuration
| Subcommand | Arguments | Description | Recording |
config | [--port=N] [--agents=N] | Create k3d cluster on ba-{N} network | |
kubeconfig | [--instance=N] | Show kubeconfig path | |
Lifecycle
| Subcommand | Arguments | Description | Recording |
restart | [--instance=N] | Restart k3d cluster | |
start | [--instance=N] | Start k3d cluster | |
stop | [--instance=N] | Stop k3d cluster | |
delete | [--instance=N] | Remove k3d cluster and cleanup | |
Monitoring
| Subcommand | Arguments | Description | Recording |
status | [--instance=N] | Show cluster status and nodes | |
logs | [--instance=N] [--lines=N] | View k3s server logs | |
Operations
| Subcommand | Arguments | Description | Recording |
list | | List all k3d clusters | |
Shell
| Subcommand | Arguments | Description | Recording |
shell | [--instance=N] [-- CMD] | Execute kubectl commands | |
Other
| Subcommand | Arguments | Description | Recording |
gpu | [--instance=N] | Reinstall GPU support (NVIDIA device plugin) | |
help | | Show help | |
Flags
| Flag | Short | Default | Values | Description |
--agents | -a | | | |
--bind | -b | | | |
--disable-servicelb | | | | |
--disable-traefik | | | | |
--gpu-type | -g | | | |
--http-port | | | | |
--https-port | | | | |
--instance | -n | | | |
--k3s-version | | | | |
--lines | -l | | | |
--port | -p | | | |
Source: just/bazzite-ai/k3d.just