From 74412d027a6972c99ad0025cd9f0932fad312ce8 Mon Sep 17 00:00:00 2001 From: Mark Bishop Date: Tue, 12 Jun 2018 12:31:18 -0700 Subject: [PATCH] deleting file. merged with file in another branch about using kubectl --- .../downloading-a-kubeconfig-file/_index.md | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 content/rancher/v2.x/en/tasks/clusters/downloading-a-kubeconfig-file/_index.md diff --git a/content/rancher/v2.x/en/tasks/clusters/downloading-a-kubeconfig-file/_index.md b/content/rancher/v2.x/en/tasks/clusters/downloading-a-kubeconfig-file/_index.md deleted file mode 100644 index 2eb49a45fd3..00000000000 --- a/content/rancher/v2.x/en/tasks/clusters/downloading-a-kubeconfig-file/_index.md +++ /dev/null @@ -1,18 +0,0 @@ ---- -title: Downloading a Kubeconfig File -weight: 3600 -draft: true ---- - -When you create a new cluster using Rancher, Rancher automatically creates a Kubeconfig file for the cluster. This file can then be used for authenticating with your clusters using Rancher CLI. Download - -1. From the **Global** view, open the cluster that you want to download a Kubeconfig file for. -2. Click **Kubeconfig File**. -3. Copy the contents of the generated file to your clipboard. -4. Paste the contents into a new file on your local computer. - -> **Note:** The default location that kubectl uses for the kubeconfig file is `~/.kube/config`, but you can use any condition and specify it using the `--kubeconfig` flag, as in the sample that follows: -> -> ``` -kubectl --kubeconfig /custom/path/kube.config get pods -```