<p>Im having some issues when building my Kubernetes Cluster.</p>

<p>Whenever I try to run a kubectl command, or my ansible scrips does, it gets the following error:  </p>

<blockquote>
  <p>Unable to connect to the server: tls: either ServerName or
  InsecureSkipVerify must be specified in the tls.Config</p>
</blockquote>

<p>Not from a script or by hand can anything execute the kubectl command, yet the apiserver pod is running.</p>

<p>Any help will be greatly appreciated.</p>

kleuf
<p>You probably either haven't specified the server name or the CA certificate, or specified an incorrect one. </p>

<p>Make sure you have specified the correct CA and server name.</p>
