<p>Today, it's 366 days since the kubernetes 1.17 cluster is running.
Accordingly, All PKI certificates are expired.
Since we are using k8s 1.17, we are able to renew certificates</p>
<pre class="lang-sh prettyprint-override"><code>kubeadm alpha certs renew all
</code></pre>
<p>everything is OK , except jenkins: still not able to spin off new pods as agents. :(</p>
<ul>
<li>no pipeline agent is able to be Running .. always pending then it's recreated</li>
</ul>
<p><a href="https://i.stack.imgur.com/lQp5z.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/lQp5z.png" alt="enter image description here" /></a></p>
<ul>
<li>The pb is that &quot;Test Connection&quot; works even thu jenkins was not provision agent</li>
</ul>
<p><a href="https://i.stack.imgur.com/umUuF.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/umUuF.png" alt="enter image description here" /></a></p>
<ul>
<li>The other apps which uses (<a href="https://kubernetes.default" rel="nofollow noreferrer">https://kubernetes.default</a>) internally, are working fine ( like ArgoCD,...)</li>
</ul>
<p>I tried to :</p>
<ul>
<li>Restart kubeapi ( delete the pod kubeapi in kube-system to restart automatically)</li>
<li>Safely restart jenkins</li>
</ul>
<p>After all these trials, the same bahavior in Jenkins :</p>
<ul>
<li>no pipeline agent is able to be Running .. always pending then it's recreated</li>
</ul>

Abdennour TOUMI
<p>actually the issue is not jenkins , but it was kubernetes master.
actually, i have to restart the control plane.
I reboot master tomake sure that all control plane components are refreshed.
Issue is fixed now</p>
