This version of the documentation is no longer actively maintained. The site that you are currently viewing is an archived snapshot.

For up-to-date documentation, see the latest version.

Connecting the `kn` Client to your cluster

The kn Client uses your kubectl client configuration, the kubeconfig file, to connect to your cluster. This file is usually automatically created when you create a Kubernetes cluster. kn looks for your kubeconfig file in the default location of $HOME/.kube/config.

For more information about kubeconfig files, see Organizing Cluster Access Using kubeconfig Files.

Using kubeconfig files with your platform

Instructions for using kubeconfig files are available for the following platforms: