Documentation Index
Fetch the complete documentation index at: https://mintlify.com/flyteorg/flyte/llms.txt
Use this file to discover all available pages before exploring further.
Overview
flytectl demo manages a fully standalone local Flyte environment. The demo cluster runs as a single Docker container and includes FlyteAdmin, FlytePropeller, the Flyte console UI, MinIO (object storage), and PostgreSQL.
Subcommands
| Subcommand | Description |
|---|---|
demo start | Start the local demo cluster |
demo teardown | Remove the demo cluster and its config |
demo status | Check the status of the demo container |
demo exec | Run a non-interactive command inside the container |
demo reload | Reload the demo cluster |
demo start
Start a local Flyte demo cluster in Docker.flytectl demo requires Flyte
>= v1.0.0. Older versions are not supported.~/.flyte/config.yaml automatically pointing to the local endpoint.
Accessing the UI:
Once started, the Flyte console is available at http://localhost:30080/console.
Default port mappings:
| Service | Port |
|---|---|
| Flyte console (UI) | 30080 |
| FlyteAdmin gRPC | 30081 |
| Kubernetes API | 6443 (configurable via --port) |
| MinIO | 30002 |
| Flag | Description |
|---|---|
--version | Flyte release version to use (from GitHub tags) |
--image | Fully qualified Docker image to use |
--imagePullPolicy | Pull policy: Always, IfNotPresent, or Never |
--pre | Use the latest pre-release |
--source | (deprecated) Mount local source code |
--env | Environment variables in KEY=VALUE format (repeatable) |
--dev | Start only MinIO and PostgreSQL |
--dryRun | Print Docker commands without executing them |
--force | Remove an existing sandbox before starting |
--port | Kubernetes API port (default: 6443) |
--disable-agent | Disable the agent service |
--disable-connector | Disable the connector service |
demo teardown
Remove the demo cluster and delete the flytectl config created bydemo start.
demo status
Check whether the demo container is running.demo exec
Execute a non-interactive command inside the running demo container and return the output immediately. By default, commands run from/root inside the container.
Pass arguments after
-- to ensure they are forwarded to the container rather than interpreted by flytectl.