title: error: failed to discover supported resources: Get http://localhost:8080/apis/apps/v1?
body: <p>I am new to Kubernetes and I am trying to create a pod but I am facing this error can someone help?</p>
  <p>(base) Dishas-Air:config dishaaa$ kubectl create deployment nanopore --image=nginx</p>
  <pre><code>W1221 16:55:10.854937   48732 loader.go:223] Config not found: /etc/kubernetes/kubelet.conf
  W1221 16:55:10.887246   48732 loader.go:223] Config not found: /etc/kubernetes/kubelet.conf
  error: failed to discover supported resources: Get http://localhost:8080/apis/apps/v1?timeout=32s: dial tcp 127.0.0.1:8080: connect: connection refused
  </code></pre>