Set up Platform Mesh locally
Use this how-to to bring up a local Platform Mesh environment on a Kind cluster. The result is a running portal, kcp endpoint, and the Platform Mesh runtime components needed to follow the tutorials.
Development preview
The local setup is intended for evaluation and development. It differs from production deployments in architecture, security configuration, and scalability.
Track progress and upcoming improvements on the project dashboard.
Prerequisites
Allocate at least 8 GB RAM and 6 CPUs to your container runtime.
Install:
- Docker or Podman
- Kind
- kubectl
- Helm
- git
- openssl
- base64
- mkcert
- jq
- yq
Install the kubectl-kcp plugin if you want to run the example-data setup later.
Task and Go are optional. They are only needed when using the Task command below; the setup script can be run directly.
WSL2 users
WSL version 2.1.5 or higher is required with Docker Desktop WSL2 integration enabled. See the v0.4.0 local setup README for mkcert details.
macOS Podman users
Set KIND_EXPERIMENTAL_PROVIDER=podman before running the setup.
Clone the setup repository
git clone --branch 0.4.0 --depth 1 https://github.com/platform-mesh/helm-charts.git
cd helm-chartsRun the setup
Run the setup script directly. If you have Task and Go installed, you can use the optional Task command instead.
PLATFORM_MESH_VERSION=0.4.0 ./local-setup/scripts/start.sh --shardedPLATFORM_MESH_VERSION=0.4.0 task local-setupRun these commands from the helm-charts repository root. The Task command asks for confirmation and deletes an existing platform-mesh Kind cluster before reinstalling. The direct script reuses an existing cluster if one is present.
Local-source development
The v0.4 setup supports iteration only when building the Platform Mesh aggregate from the checked-out source. Omit PLATFORM_MESH_VERSION and use the v0.4 flag syntax:
./local-setup/scripts/start.sh --iterate --shardedDo not combine PLATFORM_MESH_VERSION with --iterate; v0.4 rejects that combination.
When the setup completes, it prints Installation Complete and shows the portal access details.
Setup duration
The initial setup typically takes 5-10 minutes, depending on network speed and machine performance.
Access the local services
Open:
- Onboarding Portal:
https://portal.localhost:8443 - kcp API:
https://localhost:8443
No hosts file configuration required
Modern browsers resolve *.localhost domains to 127.0.0.1, so organization subdomains like <organization-name>.portal.localhost work without /etc/hosts changes.
Certificate trust
The setup uses local certificates generated by mkcert. If the browser shows a certificate warning, run mkcert -install or see Troubleshoot local setup.
Verify the runtime components
The local setup deploys the Platform Mesh operator and the runtime components it manages. Key components include:
- Platform Mesh operator
- Portal
- Kubernetes GraphQL gateway
- kcp
- OpenFGA
- Keycloak
- Account operator
- Extension manager operator
For the architecture behind these components, see Architecture. For the exact component set per release, see Platform Mesh runtime.
Related
- Troubleshoot local setup for common failures.
- Tutorials once the cluster is up.