Quickstart
Prerequisites
Download kcp
Visit our latest release page and download kcp
and kubectl-kcp-plugin
that match your operating system and architecture.
Extract kcp
and kubectl-kcp-plugin
and place all the files in the bin
directories somewhere in your $PATH
.
Start kcp
You can start kcp using this command:
This launches kcp in the foreground. You can press ctrl-c
to stop it.
To see a complete list of server options, run kcp start options
.
Set your KUBECONFIG
During its startup, kcp generates a kubeconfig in .kcp/admin.kubeconfig
. Use this to connect to kcp and display the
version to confirm it's working:
$ export KUBECONFIG=.kcp/admin.kubeconfig
$ kubectl version
Client Version: v1.31.1
Kustomize Version: v5.4.2
Server Version: v1.31.0+kcp-v0.26.0
Next steps
Thanks for checking out our quickstart!
If you're interested in learning more about all the features kcp has to offer, please check out our additional documentation:
- Concepts - a high level overview of kcp concepts
- Workspaces - a more thorough introduction on kcp's workspaces
- kubectl plugin
- Authorization - how kcp manages access control to workspaces and content
- Virtual workspaces - details on kcp's mechanism for virtual views of workspace content