From 0eaac0d7b88c095ab99c43134efa6fe7568307c7 Mon Sep 17 00:00:00 2001 From: Nikolas Date: Wed, 21 Apr 2021 23:03:56 +0200 Subject: [PATCH] Possible typo in filename Running RKE version: v1.2.7 ``` rke util get-kubeconfig INFO[0000] Creating new kubeconfig file INFO[0000] Copied file [./kube_config_cluster.yml] to new location [kube_config090097404] as back-up INFO[0000] [reconcile] Rebuilding and updating local kube config INFO[0000] Successfully Deployed local admin kubeconfig at [./kube_config_cluster.yml] INFO[0000] [reconcile] host [osl-argusdev-kube-cluster1.mnemonic.no] is a control plane node with reachable Kubernetes API endpoint in the cluster ``` Output is without dash and only underscore. --- content/rancher/v2.x/en/faq/kubectl/_index.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/content/rancher/v2.x/en/faq/kubectl/_index.md b/content/rancher/v2.x/en/faq/kubectl/_index.md index b4172ab0a40..9a7c422ef8e 100644 --- a/content/rancher/v2.x/en/faq/kubectl/_index.md +++ b/content/rancher/v2.x/en/faq/kubectl/_index.md @@ -11,12 +11,12 @@ See [kubectl Installation](https://kubernetes.io/docs/tasks/tools/install-kubect ### Configuration -When you create a Kubernetes cluster with RKE, RKE creates a `kube_config_rancher-cluster.yml` in the local directory that contains credentials to connect to your new cluster with tools like `kubectl` or `helm`. +When you create a Kubernetes cluster with RKE, RKE creates a `kube_config_rancher_cluster.yml` in the local directory that contains credentials to connect to your new cluster with tools like `kubectl` or `helm`. -You can copy this file to `$HOME/.kube/config` or if you are working with multiple Kubernetes clusters, set the `KUBECONFIG` environmental variable to the path of `kube_config_rancher-cluster.yml`. +You can copy this file to `$HOME/.kube/config` or if you are working with multiple Kubernetes clusters, set the `KUBECONFIG` environmental variable to the path of `kube_config_rancher_cluster.yml`. ``` -export KUBECONFIG=$(pwd)/kube_config_rancher-cluster.yml +export KUBECONFIG=$(pwd)/kube_config_rancher_cluster.yml ``` Test your connectivity with `kubectl` and see if you can get the list of nodes back.