<p>When installing Kube-router on a single node Kubernetes Cluster, I came across the following issue:</p>
<pre><code>kube-system   kube-router-wnnq8                          0/1     CrashLoopBackOff   11         55m
</code></pre>
<p>Output of the logs:</p>
<pre><code>kubectl logs kube-router-wnnq8 -n kube-system
I0826 06:02:25.760806       1 kube-router.go:223] Running /usr/local/bin/kube-router version v1.0.1, built on 2020-07-28T23:51:21+0000, go1.10.8
Failed to parse kube-router config: Failed to build configuration from CLI: Error loading config file &quot;/var/lib/kube-router/kubeconfig&quot;: read /var/lib/kube-router/kubeconfig: is a directory
</code></pre>
<p>output of kubectl describe:</p>
<pre><code>Normal   Pulling    35m (x12 over 49m)   kubelet, bridge19102  Pulling image &quot;docker.io/cloudnativelabs/kube-router&quot;
  Warning  Failed     30m (x31 over 37m)   kubelet, bridge19102  Error: ImagePullBackOff
  Normal   BackOff    20m (x73 over 37m)   kubelet, bridge19102  Back-off pulling image &quot;docker.io/cloudnativelabs/kube-router&quot;
  Warning  BackOff    31s (x140 over 49m)  kubelet, bridge19102  Back-off restarting failed container
</code></pre>

Lorenzo Sterenborg
<p>This is a community wiki answer based on the comments and posted for better visibility.</p>
<p>The error message: <code>Failed to parse kube-router config: Failed to build configuration from CLI: Error loading config file &quot;/var/lib/kube-router/kubeconfig&quot;: read /var/lib/kube-router/kubeconfig: is a directory</code> indicates that the path to the config <strong>file</strong> was not found and it points to a <strong>directory</strong> instead.</p>
<p>As you already found out, removing the directory and making it a file is a working resolution for this problem.</p>
