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:
- 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).
Feedback
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.