We use analytics and cookies to understand site traffic. Information about your use of our site is shared with Google for that purpose. Learn more.
Connecting the `kn` Client to your cluster
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
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:
- Amazon EKS
- Google GKE
- IBM IKS
- Red Hat OpenShift Cloud Platform
- Starting minikube writes this file (or gives you an appropriate context in an existing configuration file).
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.