Quick Start
Get a Lattice mesh network running in 10 minutes.
1. Deploy the Control Plane
Docker (all-in-one)
bash
docker run -d \
--name lattice-k3s \
--privileged \
-p 8080:8080 \
ghcr.io/alatticeio/lattice-k3s:latestAfter ~30 seconds:
- Dashboard / API:
http://localhost:8080
Kubernetes (kustomize)
bash
kubectl apply -k https://github.com/alatticeio/lattice/config/lattice/overlays/all-in-oneKubernetes (Helm)
bash
helm repo add lattice https://alatticeio.github.io/lattice
helm install lattice lattice/lattice2. Install the CLI
bash
# macOS (Homebrew)
brew tap alatticeio/tap
brew install lattice
# Linux (Debian/Ubuntu)
curl -fsSL https://alatticeio.github.io/lattice/deb/Packages.gz -o /tmp/lattice-Packages.gz
echo "deb [trusted=yes] https://alatticeio.github.io/lattice/deb ./" | sudo tee /etc/apt/sources.list.d/lattice.list
sudo apt update && sudo apt install lattice
# Linux (RHEL/Fedora)
# Download from GitHub Releases3. Configure the Agent
bash
lattice initFollow the prompts:
- Management server URL:
http://localhost:8080 - Enrollment token: (create one via dashboard or CLI)
4. Connect
bash
lattice up5. Verify
bash
lattice statusYou should see your peer listed with a connected status.