From a806d93a53703b1a2fc0641720f10802fb85f925 Mon Sep 17 00:00:00 2001 From: "Sahdev P. Zala" Date: Thu, 16 Mar 2017 12:21:58 -0400 Subject: [PATCH 1/2] Mention Minikube in the Kubectl configuration doc Provide reference of Minikube along with kube-up.sh on creating cluster. This will give convey message to first time users of the Minikube that they should make sure Minikube is installed before running this step of $ kubectl cluster-info fixes #2863 --- docs/user-guide/prereqs.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/user-guide/prereqs.md b/docs/user-guide/prereqs.md index de3cd3264f..de441c1415 100644 --- a/docs/user-guide/prereqs.md +++ b/docs/user-guide/prereqs.md @@ -107,7 +107,7 @@ sufficiently up-to-date using `kubectl version`. ## Configuring kubectl -In order for kubectl to find and access the Kubernetes cluster, it needs a [kubeconfig file](/docs/user-guide/kubeconfig-file), which is created automatically when creating a cluster using kube-up.sh (see the [getting started guides](/docs/getting-started-guides/) for more about creating clusters). If you need access to a cluster you didn't create, see the [Sharing Cluster Access document](/docs/user-guide/sharing-clusters). +In order for kubectl to find and access the Kubernetes cluster, it needs a [kubeconfig file](/docs/user-guide/kubeconfig-file), which is created automatically when creating a cluster using kube-up.sh or upon successful installation of Minikube (see the [getting started guides](/docs/getting-started-guides/) for more about creating clusters). If you need access to a cluster you didn't create, see the [Sharing Cluster Access document](/docs/user-guide/sharing-clusters). By default, kubectl configuration lives at `~/.kube/config`. #### Making sure you're ready From eb2a462951951e55a76f539b1db2e41e9d586394 Mon Sep 17 00:00:00 2001 From: "Sahdev P. Zala" Date: Thu, 16 Mar 2017 20:27:12 -0400 Subject: [PATCH 2/2] Add Minikube reference in the Kubectl configuration doc For Minikube users, the cluster is created when they install Minikube. Add this in the doc. --- docs/tasks/kubectl/install.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tasks/kubectl/install.md b/docs/tasks/kubectl/install.md index a6a9295b6d..ba916fc590 100644 --- a/docs/tasks/kubectl/install.md +++ b/docs/tasks/kubectl/install.md @@ -104,7 +104,7 @@ sufficiently up-to-date using `kubectl version`. ## Configuring kubectl -In order for kubectl to find and access the Kubernetes cluster, it needs a [kubeconfig file](/docs/concepts/cluster-administration/authenticate-across-clusters-kubeconfig/), which is created automatically when creating a cluster using kube-up.sh (see the [getting started guides](/docs/getting-started-guides/) for more about creating clusters). If you need access to a cluster you didn't create, see the [Sharing Cluster Access document](/docs/tasks/administer-cluster/share-configuration/). +In order for kubectl to find and access the Kubernetes cluster, it needs a [kubeconfig file](/docs/concepts/cluster-administration/authenticate-across-clusters-kubeconfig/), which is created automatically when creating a cluster using kube-up.sh or upon successful installation of Minikube (see the [getting started guides](/docs/getting-started-guides/) for more about creating clusters). If you need access to a cluster you didn't create, see the [Sharing Cluster Access document](/docs/tasks/administer-cluster/share-configuration/). By default, kubectl configuration lives at `~/.kube/config`. #### Making sure you're ready