<p>I ran command
<strong>systemctl stop kubelet</strong>
then try to start it
<strong>systemctl start kubelet</strong></p>
<p>but can't able to start it</p>
<p>here is the output of <strong>systemctl status kubelet</strong></p>
<pre><code> kubelet.service - kubelet: The Kubernetes Node Agent
   Loaded: loaded (/lib/systemd/system/kubelet.service; enabled; vendor preset: enabled)
  Drop-In: /etc/systemd/system/kubelet.service.d
           └─10-kubeadm.conf
   Active: activating (auto-restart) (Result: exit-code) since Wed 2019-06-05 15:35:34 UTC; 7s ago
     Docs: https://kubernetes.io/docs/home/
  Process: 31697 ExecStart=/usr/bin/kubelet $KUBELET_KUBECONFIG_ARGS $KUBELET_CONFIG_ARGS $KUBELET_KUBEADM_ARGS $KUBELET_EXTRA_ARGS (code=exited, status=255)
 Main PID: 31697 (code=exited, status=255)
</code></pre>
<p>Because of this i am not able to run any kubectl command</p>
<p>example <strong>kubectl get pods</strong> gives</p>
<pre><code>The connection to the server 172.31.6.149:6443 was refused - did you specify the right host or port?
</code></pre>

<h2>Worked</h2>
<p>Need to disable swap using <strong>swapoff -a</strong>
then,
try to start it <strong>systemctl start kubelet</strong></p>
