title: Kubernetes API-Server is throwing ECONNREFUSED
body: <p>I'm using this <a href="https://github.com/kubernetes-client/javascript" rel="nofollow noreferrer">k8s javascript client library</a>.
  For every 4th or 5th request its throwing <code>ECONNREFUSED</code>. I'm running k8s in AWS.</p>
  
  <pre><code>{ Error: connect ECONNREFUSED &lt;master-node-external-ip&gt;:443
      at Object._errnoException (util.js:1041:11)
      at _exceptionWithHostPort (util.js:1064:20)
      at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1153:14)
    code: 'ECONNREFUSED',
    errno: 'ECONNREFUSED',
    syscall: 'connect',
    address: &lt;master-node-external-ip&gt;,
    port: 443 }
  </code></pre>
  
  <p>code</p>
  
  <pre><code>const k8s = require('@kubernetes/client-node');
  const k8sApi = k8s.Config.defaultClient();
  const pods = k8sApi.listNamespacedPod('default');
  </code></pre>
  
  <p>version</p>
  
  <pre><code>kube master node
  kernelVersion: 4.4.78-k8s
  kubeProxyVersion: v1.7.2
  kubeletVersion: v1.7.2
  </code></pre>
  
  <p>I noticed that in AWS my master node was throwing </p>
  
  <pre><code>"RouteLimitExceeded: The maximum number of routes has been reached.
  </code></pre>
  
  <p>Can this be the issue for ECONNREFUSED?</p>