<p>I am using kubernetes v1.18 and use calico as my CNI plugin, this is the calico pod status(remove unrelate pods):</p>
<pre class="lang-sh prettyprint-override"><code>[root@localhost ~]# kubectl get pods --all-namespaces -o wide
NAME                                            READY   STATUS    RESTARTS   AGE     IP              NODE                    NOMINATED NODE   READINESS GATES
calico-kube-controllers-75d555c48-lt4jr         1/1     Running   0          2d12h   10.11.102.134   localhost.localdomain   &lt;none&gt;           &lt;none&gt;
calico-node-6rj58                               1/1     Running   0          37h     192.168.31.30   k8sslave1               &lt;none&gt;           &lt;none&gt;
calico-node-czhww                               1/1     Running   0          2d12h   192.168.31.29   localhost.localdomain   &lt;none&gt;           &lt;none&gt;
calico-node-vwr5w                               1/1     Running   0          2d12h   192.168.31.31   k8sslave2               &lt;none&gt;           &lt;none&gt;
calicoctl                                       1/1     Running   0          93m     192.168.31.31   k8sslave2               &lt;none&gt;           &lt;none&gt;
</code></pre>
<p>and I install calicoctl in my master host node:</p>
<pre class="lang-sh prettyprint-override"><code>curl -O -L  https://github.com/projectcalico/calicoctl/releases/download/v3.15.1/calicoctl
chmod +x calicoctl
mv calicoctl /usr/local
</code></pre>
<p>and get calico node status.</p>
<pre class="lang-sh prettyprint-override"><code>[root@localhost ~]# calicoctl node status
Calico process is running.

IPv4 BGP status
+---------------+-------------------+-------+----------+-------------+
| PEER ADDRESS  |     PEER TYPE     | STATE |  SINCE   |    INFO     |
+---------------+-------------------+-------+----------+-------------+
| 192.168.31.31 | node-to-node mesh | up    | 02:56:08 | Established |
| 192.168.31.30 | node-to-node mesh | up    | 02:56:09 | Established |
+---------------+-------------------+-------+----------+-------------+

IPv6 BGP status
No IPv6 peers found.
</code></pre>
<p>The question is: why the master <code>192.168.31.29</code> calico nodes is not found? all pods running fine, and I do not know how to find the reason.</p>

<blockquote>
<p>The question is: why the master 192.168.31.29 calico nodes are not found?</p>
</blockquote>
<p>Sounds like Calico wasn't able to retrieve your <code>NODENAME</code> for the master. I see that it's defined as <code>localhost.localdomain</code> in the output of your command.</p>
<p>If you see the <a href="https://docs.projectcalico.org/reference/node/configuration#node-name-determination" rel="nofollow noreferrer">docs</a>, Calico needs to be able to determine your <code>NODENAME</code> to add the calico/node resource and consider it to be part of the 'mesh'.</p>
<blockquote>
<p>The calico/node must know the name of the node on which it is running. The node name is used to retrieve the Node resource configured for this node if it exists, or to create a new node resource representing the node if it does not. It is also used to associate the node with per-node BGP configuration, felix configuration, and endpoints.</p>
</blockquote>
<p>Another question would be, are you planning to run workloads on your Kubernetes master? If you don't then your setup is fine now. If you do, then yes, you will have to make sure that Calico (the overlay) works so that your workloads have network connectivity.</p>
