<p>I'm quite confused here on this <code>kubeadm upgrade</code>.</p>

<p>As you can see from my screenclips below, my <em>serverVersion</em> is stuck at v1.17.2 when displaying <code>kubectl version -o json</code> from my Mac.  </p>

<p>When I'm on my MASTER node, I issued the <code>kubeadm upgrade plan</code> and the system displays the <code>kubeadm upgrade apply v1.18.0</code> to upgrade.</p>

<p>But, after the upgrade, my CURRENT version is still showing v1.17.2.</p>

<p>You can see from the 3rd screenclip with <code>kubectl get nodes -o wide</code> that the nodes are all showing v1.18.0.  </p>

<p>But, <code>kubectl version -o json</code>, still shows the serverVersion at v1.17.2.</p>

<p>Also, my k9s continues to show my <strong>K8s Rev: v1.17.2</strong></p>

<p>Adding to the question.</p>

<p>Why on the MASTER node, when entering kubectl version would the Client &amp; Server versions be DIFFERENT?  Which is shown in the 2nd to last screen clip below.</p>

<p>Isn't the kubectl on the MASTER node both the CLIENT &amp; SERVER? I mean if I am ssh'd into the MASTER node, and I use kubectl, am I not issuing a CLIENT request ON the SERVER itself? So, how can the CLIENT &amp; SERVER versions be different?</p>

<p>Can someone tell me what I am doing wrong?</p>

<p>Thanks in advance.
<a href="https://imagizer.imageshack.com/img921/5941/vqLTE0.jpg" rel="nofollow noreferrer"><img src="https://imagizer.imageshack.com/img921/5941/vqLTE0.jpg" alt="sc1"></a>
<a href="https://imagizer.imageshack.com/img924/9821/ZleAYo.jpg" rel="nofollow noreferrer"><img src="https://imagizer.imageshack.com/img924/9821/ZleAYo.jpg" alt="sc2"></a>
<a href="https://imagizer.imageshack.com/img924/8442/CoIEUw.jpg" rel="nofollow noreferrer"><img src="https://imagizer.imageshack.com/img924/8442/CoIEUw.jpg" alt="sc3"></a>
<a href="https://i.stack.imgur.com/EiYLn.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/EiYLn.png" alt="sc4"></a>
<a href="https://i.stack.imgur.com/CUTSS.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/CUTSS.jpg" alt="sc5"></a>
<a href="https://i.stack.imgur.com/oiARl.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/oiARl.jpg" alt="sc6"></a></p>

jmarcedwards
<p>The problem was that <code>emacs</code> had created its normal backup files in the <em>/etc/kubernetes/manifests</em> files, and this was creating the problem. I'm not sure WHY <code>kubectl</code> had an issue with these backup files, but after I removed these backups from the directory, you can see my <code>kubectl version</code> for the <em>Client</em> &amp; <em>Server</em> versions match.</p>

<p><a href="https://i.stack.imgur.com/Kb2my.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Kb2my.png" alt="pic1"></a>
<a href="https://i.stack.imgur.com/mXQaR.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/mXQaR.png" alt="pic3"></a>
<a href="https://i.stack.imgur.com/IP7Yc.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/IP7Yc.png" alt="pic2"></a></p>

<p>Thanks Nick!</p>
