mirror of https://github.com/knative/docs.git
Updating knative client connection doc (#4075)
* Updating client connection doc * Edited the config text format * Update docs/client/README.md Co-authored-by: Samia Nneji <snneji@vmware.com> Co-authored-by: Samia Nneji <snneji@vmware.com>
This commit is contained in:
parent
5df72e09b6
commit
06dc8903ea
|
|
@ -32,6 +32,12 @@ After you have installed `kubectl` or `kn`, these tools will search for the `kub
|
|||
|
||||
A `kubeconfig` file is usually automatically created when you create a Kubernetes cluster.
|
||||
|
||||
You can also specify a config file in the following ways:
|
||||
|
||||
- Setting the environment variable `$KUBECONFIG`, and point it to the kubeconfig file.
|
||||
|
||||
- Using the `kn` CLI `--config` option, for example, `kn service list --config path/to/config.yaml`. The default config is at `~/.config/kn/config.yaml`.
|
||||
|
||||
For more information about `kubeconfig` files, see <a href="https://kubernetes.io/docs/concepts/configuration/organize-cluster-access-kubeconfig/" target="_blank">Organizing Cluster Access Using kubeconfig Files</a>.
|
||||
|
||||
### Using kubeconfig files with your platform
|
||||
|
|
|
|||
Loading…
Reference in New Issue