From 2523d64f952ae153bb8ba73f22dbc62842f51a97 Mon Sep 17 00:00:00 2001 From: Dalton Hubble Date: Sat, 6 Jan 2018 16:55:06 -0800 Subject: [PATCH] Fix docs to show exporting KUBECONFIG --- README.md | 2 +- docs/aws.md | 2 +- docs/bare-metal.md | 2 +- docs/digital-ocean.md | 2 +- docs/google-cloud.md | 2 +- docs/index.md | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index ee41d37d..4c8f8f99 100644 --- a/README.md +++ b/README.md @@ -75,7 +75,7 @@ Apply complete! Resources: 37 added, 0 changed, 0 destroyed. In 4-8 minutes (varies by platform), the cluster will be ready. This Google Cloud example creates a `yavin.example.com` DNS record to resolve to a network load balancer across controller nodes. ```sh -$ KUBECONFIG=/home/user/.secrets/clusters/yavin/auth/kubeconfig +$ export KUBECONFIG=/home/user/.secrets/clusters/yavin/auth/kubeconfig $ kubectl get nodes NAME STATUS AGE VERSION yavin-controller-0.c.example-com.internal Ready 6m v1.9.1 diff --git a/docs/aws.md b/docs/aws.md index 74af5b03..073ea208 100644 --- a/docs/aws.md +++ b/docs/aws.md @@ -148,7 +148,7 @@ In 4-8 minutes, the Kubernetes cluster will be ready. [Install kubectl](https://coreos.com/kubernetes/docs/latest/configure-kubectl.html) on your system. Use the generated `kubeconfig` credentials to access the Kubernetes cluster and list nodes. ``` -$ KUBECONFIG=/home/user/.secrets/clusters/tempest/auth/kubeconfig +$ export KUBECONFIG=/home/user/.secrets/clusters/tempest/auth/kubeconfig $ kubectl get nodes NAME STATUS AGE VERSION ip-10-0-12-221 Ready 34m v1.9.1 diff --git a/docs/bare-metal.md b/docs/bare-metal.md index 9e70aa44..109a7637 100644 --- a/docs/bare-metal.md +++ b/docs/bare-metal.md @@ -287,7 +287,7 @@ bootkube[5]: Tearing down temporary bootstrap control plane... [Install kubectl](https://coreos.com/kubernetes/docs/latest/configure-kubectl.html) on your system. Use the generated `kubeconfig` credentials to access the Kubernetes cluster and list nodes. ``` -$ KUBECONFIG=/home/user/.secrets/clusters/mercury/auth/kubeconfig +$ export KUBECONFIG=/home/user/.secrets/clusters/mercury/auth/kubeconfig $ kubectl get nodes NAME STATUS AGE VERSION node1.example.com Ready 11m v1.9.1 diff --git a/docs/digital-ocean.md b/docs/digital-ocean.md index 5715b3b2..29d186c1 100644 --- a/docs/digital-ocean.md +++ b/docs/digital-ocean.md @@ -144,7 +144,7 @@ In 3-6 minutes, the Kubernetes cluster will be ready. [Install kubectl](https://coreos.com/kubernetes/docs/latest/configure-kubectl.html) on your system. Use the generated `kubeconfig` credentials to access the Kubernetes cluster and list nodes. ``` -$ KUBECONFIG=/home/user/.secrets/clusters/nemo/auth/kubeconfig +$ export KUBECONFIG=/home/user/.secrets/clusters/nemo/auth/kubeconfig $ kubectl get nodes NAME STATUS AGE VERSION 10.132.110.130 Ready 10m v1.9.1 diff --git a/docs/google-cloud.md b/docs/google-cloud.md index 89aeae6b..8f1c8220 100644 --- a/docs/google-cloud.md +++ b/docs/google-cloud.md @@ -151,7 +151,7 @@ In 4-8 minutes, the Kubernetes cluster will be ready. [Install kubectl](https://coreos.com/kubernetes/docs/latest/configure-kubectl.html) on your system. Use the generated `kubeconfig` credentials to access the Kubernetes cluster and list nodes. ``` -$ KUBECONFIG=/home/user/.secrets/clusters/yavin/auth/kubeconfig +$ export KUBECONFIG=/home/user/.secrets/clusters/yavin/auth/kubeconfig $ kubectl get nodes NAME STATUS AGE VERSION yavin-controller-0.c.example-com.internal Ready 6m v1.9.1 diff --git a/docs/index.md b/docs/index.md index 40840fd6..095f00ff 100644 --- a/docs/index.md +++ b/docs/index.md @@ -74,7 +74,7 @@ Apply complete! Resources: 64 added, 0 changed, 0 destroyed. In 4-8 minutes (varies by platform), the cluster will be ready. This Google Cloud example creates a `yavin.example.com` DNS record to resolve to a network load balancer across controller nodes. ``` -$ KUBECONFIG=/home/user/.secrets/clusters/yavin/auth/kubeconfig +$ export KUBECONFIG=/home/user/.secrets/clusters/yavin/auth/kubeconfig $ kubectl get nodes NAME STATUS AGE VERSION yavin-controller-0.c.example-com.internal Ready 6m v1.9.1