Skip to content

Access the kcp admin workspace

Use the local setup admin kubeconfig when you need full visibility into the kcp workspaces in a local Platform Mesh instance.

Admin access

The admin kubeconfig is for platform administrators. It is not a consumer or provider workspace credential.

Set the kubeconfig

Run this from the local-setup directory of the platform-mesh/helm-charts repository:

bash
export KUBECONFIG=$(pwd)/.secret/kcp/admin.kubeconfig

List workspaces

bash
kubectl get workspaces

Switch workspaces

bash
kubectl kcp workspace use <workspace-name>

This gives access to the root workspace and organization management objects.

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.