<p>I am learning Kubernetes with Docker to launch a simple Python web application. I am new to all the above technologies. </p>

<p>Below is the approach I was planning on:</p>

<ol>
<li>Install Kubernetes.</li>
<li>Have a cluster up and running locally.</li>
<li>Install Docker.</li>
<li>Create Python Application</li>
</ol>

<p>I successfully installed Kubectl on my local using Chocolatey following instructions from <a href="https://kubernetes.io/docs/tasks/tools/install-kubectl/" rel="nofollow noreferrer">https://kubernetes.io/docs/tasks/tools/install-kubectl/</a>.</p>

<p>I created <code>.\kube</code> directory in C:\Users directory. But I do not see any config files neither in the location where kubernetes has been installed <code>C:\ProgramData\Chocolatey\lib\kubernetes-cli\tools\kubernetes\client\bin</code> nor in <code>C:\Users\User1\.kube</code> directory. </p>

<p>When I run the command <strong>".\kubectl cluster-info"</strong> in powershell against C:\ProgramData\Chocolatey\lib\kubernetes-cli\tools\kubernetes\client\bin<br>
I get <strong>"Kubernetes master is running at <a href="http://localhost:8080" rel="nofollow noreferrer">http://localhost:8080</a>"</strong> response. But when I run the same command against C:\Users\User1.kube I get </p>

<blockquote>
  <p>.\kubectl : The term '.\kubectl' is not recognized as the name of a
  cmdle or if a path was included, verify that the path is correct and
  try again.</p>
</blockquote>

<p>Am I doing it the wrong way or missing anything here? </p>

<p>This blog says <a href="https://blog.tekspace.io/install-kubernetes-cli-on-windows-10/" rel="nofollow noreferrer">https://blog.tekspace.io/install-kubernetes-cli-on-windows-10/</a> <strong>"copy config file from Kubernetes master node to .kube folder"</strong> but I dont see any config file! </p>

<p>Appreciate your help.</p>

<p>The blog you refer illustrates how to configure the CLI (Command Line Interface) on your Win10 computer, so that you can connect to a Kubernetes cluster.</p>

<p>The cluster is running on others machines. In the following picture you see a simplified schema.</p>

<p><a href="https://i.stack.imgur.com/hOw0v.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/hOw0v.png" alt="enter image description here"></a>
You connect to the master through a CLI (kubectl), the master receives your commands and acts on the nodes.</p>

<p>I suggest to copy kubectl.exe into folder <code>C:\WINDOWS\system32</code> (which is in the <code>PATH</code> variable) so that you can type kubectl from whatever folder you are.</p>

<p>The config file the blog speaks about is on the Kubernetes master. 
It's not in your local machine. If you manage the machine on which the kube master runs, you need to connect (probably via <code>SSH</code>) and get the file (in <code>/etc/kubernetes/</code> - <code>admin.conf</code> or <code>kubernetes.conf</code>, it depends on the installation, I followed <a href="https://kubernetes.io/docs/setup/independent/create-cluster-kubeadm/" rel="nofollow noreferrer">this</a>).</p>
