Quick Start
The fastest way to get KubeOrch running is with orchcli, the official developer CLI. It handles Docker Compose orchestration, repository cloning, and dependency installation automatically.
Prerequisites
Section titled “Prerequisites”- Docker and Docker Compose (v2) installed and running
- Git installed (orchcli can auto-install it on Linux/macOS)
Install orchcli
Section titled “Install orchcli”# Option 1: Shell script (Linux/macOS)curl -sfL https://raw.githubusercontent.com/KubeOrch/cli/main/install.sh | sh
# Option 2: NPM (all platforms)npm install -g @kubeorch/cli
# Option 3: Gogo install github.com/kubeorch/cli@latestVerify installation:
orchcli --versionQuick Start: Try KubeOrch (Production Mode)
Section titled “Quick Start: Try KubeOrch (Production Mode)”Run the full platform from pre-built Docker images — no source code needed.
# Create a project directorymkdir kubeorch && cd kubeorch
# Initialize (production mode -- no repos cloned)orchcli init
# Start all services in backgroundorchcli start -dThat’s it. Open your browser:
| Service | URL |
|---|---|
| UI | http://localhost:3001 |
| API | http://localhost:3000 |
| MongoDB | localhost:27017 |
First Steps After Launch
Section titled “First Steps After Launch”- Register — Go to
http://localhost:3001/signup. The first user automatically becomes admin. - Add a Cluster — Dashboard > Clusters > Add Cluster. Connect using kubeconfig, bearer token, or another supported auth method.
- Create a Workflow — Workflows > New Workflow. Select your cluster, then drag resources onto the canvas.
- Deploy — Click the Run button to deploy your workflow to Kubernetes.
Manage Services
Section titled “Manage Services”orchcli status # Check health of all servicesorchcli logs -f # Follow all logsorchcli logs core # View only Core API logsorchcli stop # Stop everythingorchcli stop -v # Stop and remove volumes (clean slate)Development Setup: Full Stack
Section titled “Development Setup: Full Stack”For contributing to both frontend and backend.
mkdir kubeorch && cd kubeorch
# Clone both repos + install dependenciesorchcli init --fork-ui --fork-core
# Start MongoDB in Dockerorchcli start -d
# Terminal 1: Start Core backend (hot reload with Air)cd core && air
# Terminal 2: Start UI frontend (hot reload with Next.js)cd ui && npm run devEdit files in core/ or ui/ — changes hot-reload automatically.
Development Setup: Frontend Only
Section titled “Development Setup: Frontend Only”For UI development without needing Go installed.
mkdir kubeorch && cd kubeorch
# Clone UI repo onlyorchcli init --fork-ui
# Start MongoDB + Core API in Dockerorchcli start -d
# Start UI locally with hot reloadcd ui && npm run devThe Core API runs from a Docker image at localhost:3000. You only need Node.js.
Development Setup: Backend Only
Section titled “Development Setup: Backend Only”For backend development without needing Node.js installed.
mkdir kubeorch && cd kubeorch
# Clone Core repo onlyorchcli init --fork-core
# Start everything (Core with mounted code + hot reload via Air)orchcli start -dYour Core source code is volume-mounted into the Docker container. Edit files locally and they hot-reload inside Docker — no Go installation required on the host.
Contributing from a Fork
Section titled “Contributing from a Fork”External contributors can clone from their own forks:
mkdir kubeorch && cd kubeorch
# Clone from your forkorchcli init --fork-ui=youruser/ui --fork-core=youruser/core
# Upstream remote is auto-configuredcd ui && git remote -v# origin https://github.com/youruser/ui (fetch)# upstream https://github.com/KubeOrch/ui (fetch)
orchcli start -dDebugging
Section titled “Debugging”If something isn’t working:
# Check service status and healthorchcli status
# Debug network connectivity between containersorchcli debug
# Execute a command inside a containerorchcli exec core shorchcli exec ui sh
# View recent logs for a specific serviceorchcli logs --tail 50 coreManual Setup (Without orchcli)
Section titled “Manual Setup (Without orchcli)”If you prefer manual setup without the CLI:
1. Start MongoDB
Section titled “1. Start MongoDB”docker run -d --name kubeorch-mongo \ -p 27017:27017 \ -e MONGO_INITDB_DATABASE=kubeorch \ mongo:8.02. Start the Core Backend
Section titled “2. Start the Core Backend”git clone https://github.com/KubeOrch/core.git && cd corecp config.yaml.example config.yaml# Edit config.yaml: set MONGO_URI, JWT_SECRET, ENCRYPTION_KEYgo run main.go3. Start the UI
Section titled “3. Start the UI”git clone https://github.com/KubeOrch/ui.git && cd uinpm installnpm run devRequired Core Configuration
Section titled “Required Core Configuration”| Variable | Description |
|---|---|
MONGO_URI | MongoDB connection string (e.g., mongodb://localhost:27017/kubeorch) |
JWT_SECRET | Secret key for JWT tokens |
ENCRYPTION_KEY | Key for encrypting cluster credentials at rest |