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:
Gunjan Vyas 2021-07-30 17:31:32 +05:30 committed by GitHub
parent 5df72e09b6
commit 06dc8903ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -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