Skip to content

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 pmctl CLI installed and ready to use
  • Platform Mesh running on a local kind cluster

Estimated time ​

~10 minutes

Prerequisites ​

  • Docker running, 10 GB RAM and 8 CPU allocated to it
  • kind
  • Port 8443 free

Get pmctl ​

sh
curl https://platform-mesh.io/install.sh | sh 
pmctl version
sh
# 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 version
sh
# Requires Go 1.26.3+ and Task (task.dev)
cd /path/to/platform-mesh
task pmctl
export PATH="$PWD/bin:$PATH"
pmctl version

First run ​

Install the latest release ​

sh
pmctl quickstart

This does the following:

  1. Creates a kind cluster named platform-mesh
  2. Installs platform-mesh-operator with 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 workspaces

Verify 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):

EmailGroup
admin@portal.localhostplatform-mesh:admins
dev@portal.localhostplatform-mesh:developers
viewer@portal.localhostplatform-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 delete and 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
EU and German government funding logos

Funded by the European Union – NextGenerationEU.

The views and opinions expressed are solely those of the author(s) and do not necessarily reflect the views of the European Union or the European Commission. Neither the European Union nor the European Commission can be held responsible for them.