Quick start
Use pmctl quickstart to get a local Platform Mesh installation running in a kind cluster for demos and local testing.
You'll get
- The
pmctlCLI installed and ready to use - Platform Mesh running on a local kind cluster
Estimated time
~10 minutes
Prerequisites
Get pmctl
sh
curl https://platform-mesh.io/install.sh | sh
pmctl versionsh
# Download the archive for your platform from
# https://github.com/platform-mesh/platform-mesh/releases
#
# macOS Apple Silicon: pmctl_<version>_darwin_arm64.tar.gz
# macOS Intel: pmctl_<version>_darwin_amd64.tar.gz
# Linux amd64: pmctl_<version>_linux_amd64.tar.gz
# Linux arm64: pmctl_<version>_linux_arm64.tar.gz
tar -xzf pmctl_<version>_darwin_arm64.tar.gz
xattr -d com.apple.quarantine pmctl # macOS only: remove Gatekeeper quarantine
chmod +x pmctl
mkdir -p $HOME/.local/bin
mv pmctl $HOME/.local/bin
pmctl versionsh
# Requires Go 1.26.3+ and Task (task.dev)
cd /path/to/platform-mesh
task pmctl
export PATH="$PWD/bin:$PATH"
pmctl versionFirst run
Install the latest release
sh
pmctl quickstartThis does the following:
- Creates a kind cluster named
platform-mesh - Installs
platform-mesh-operatorwith Dex as the identity provider
When ready, output looks like:
Platform Mesh <version> is ready.
Portal https://pm.127-0-0-1.sslip.io:8443/
Dex https://pm.127-0-0-1.sslip.io:8443/dex
kcp API https://kcp.api.pm.127-0-0-1.sslip.io:8443
Kubeconfig platform-mesh.kubeconfig
kcp kubeconfig platform-mesh-kcp.kubeconfig
CA certificate platform-mesh-ca.crt
Log in as admin@portal.localhost, dev@portal.localhost, viewer@portal.localhost, with the password "password".
Next steps:
export KUBECONFIG=platform-mesh.kubeconfig
kubectl -n platform-mesh-system get platformmeshes
export KUBECONFIG=platform-mesh-kcp.kubeconfig
kubectl get workspacesVerify it worked
Open the portal
Navigate to https://pm.127-0-0-1.sslip.io:8443/ in a browser.
The certificate is issued by the installation's self-signed CA (platform-mesh-ca.crt). Either trust the CA in your browser or click through the warning.
Log in with any of the Dex users (password password for all):
| Group | |
|---|---|
admin@portal.localhost | platform-mesh:admins |
dev@portal.localhost | platform-mesh:developers |
viewer@portal.localhost | platform-mesh:viewers |
Common errors
no container runtime found: docker, podman or nerdctl must be installed and running
The container runtime is not running or not in PATH. Start Docker Desktop and retry.
Port 8443 already in use
Stop whatever is using port 8443 before running quickstart. The port is not configurable.
HelmReleases failing for more than 10m0s
One or more HelmReleases have been failing for longer than --stall-timeout (default 10 minutes). Common causes:
- Image pull failures — the cluster cannot reach
ghcr.io. Check connectivity. - Resource constraints — the kind node is out of memory or CPU. Increase Docker Desktop's memory and CPU limit (10 GB RAM, 8 CPU recommended) and retry.
- Previous failed install — leftover state from a prior run. Run
pmctl quickstart deleteand start fresh.
Quick reference
sh
# Install latest release
pmctl quickstart
# Install specific version
pmctl quickstart --version=v26.11.1
# Custom cluster name
pmctl quickstart --name=my-mesh
# Delete
pmctl quickstart delete
# Custom cluster name
pmctl quickstart delete --name=my-mesh
# Verify
export KUBECONFIG=platform-mesh.kubeconfig
kubectl -n platform-mesh-system get platformmeshes
# All flags
pmctl quickstart --help