<p>I have installed two nodes <code>kubernetes 1.12.1</code> in cloud VMs, both behind internet proxy. Each VMs have floating IPs associated to connect over SSH, <code>kube-01</code> is a master and <code>kube-02</code> is a node. Executed export:</p>

<pre><code>no_proxy=127.0.0.1,localhost,10.157.255.185,192.168.0.153,kube-02,192.168.0.25,kube-01
</code></pre>

<p>before running <code>kubeadm init</code>, but I am getting the following status for <code>kubectl get nodes</code>:</p>

<pre><code>NAME      STATUS     ROLES    AGE   VERSION
kube-01   NotReady   master   89m   v1.12.1
kube-02   NotReady   &lt;none&gt;   29s   v1.12.2
</code></pre>

<p>Am I missing any configuration? Do I need to add <code>192.168.0.153</code> and <code>192.168.0.25</code> in respective VM's <code>/etc/hosts</code>?</p>

Sandeep Nag
<p>Looks like pod network is not installed yet on your cluster . You can install weave for example with below command </p>

<pre><code>kubectl apply -f "https://cloud.weave.works/k8s/net?k8s-version=$(kubectl version | base64 | tr -d '\n')"
</code></pre>

<p>After a few seconds, a Weave Net pod should be running on each Node and any further pods you create will be automatically attached to the Weave network.</p>

<p>You can install pod networks of your choice . Here is a <a href="https://kubernetes.io/docs/concepts/cluster-administration/addons/" rel="noreferrer">list</a> </p>

<p>after this check </p>

<pre><code>$ kubectl describe nodes
</code></pre>

<p>check all is fine like below</p>

<pre><code>Conditions:
  Type              Status
  ----              ------
  OutOfDisk         False
  MemoryPressure    False
  DiskPressure      False
  Ready             True
Capacity:
 cpu:       2
 memory:    2052588Ki
 pods:      110
Allocatable:
 cpu:       2
 memory:    1950188Ki
 pods:      110
</code></pre>

<p>next ssh to the pod which is not ready and observe kubelet logs. Most likely errors can be of certificates and authentication.</p>

<p>You can also use journalctl on systemd to check kubelet errors.</p>

<pre><code>$ journalctl -u kubelet
</code></pre>
