<p>I use <code>kops</code> create kubernetes cluster in aws.</p>

<p>I want to validate the cluster using this command:</p>

<p><code>kops validate cluster</code></p>

<p>The stdout give me: <code>Using cluster from kubectl context: minikube</code></p>

<p>I think the problem is the wrong context, but why I <code>kops</code> does not create context for me?</p>

<p>This is my contexts:</p>

<pre><code>kubectl config get-contexts
CURRENT   NAME       CLUSTER    AUTHINFO   NAMESPACE
*         minikube   minikube   minikube
</code></pre>

<p>there is no aws kubernetes cluster context.</p>

<p>How do I solve this?</p>

<p>Works like charm</p>
<pre><code>kops export kubecfg --name=clustername.com
</code></pre>
<p><em>kops has set your kubectl context to k9s.finddeepak.com</em></p>
