<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Certificates on Exoscale Academy</title><link>https://layer5io.github.io/exoscale-academy/pr-preview/pr-378/learning-paths/1e2a8e46-937c-47ea-ab43-5716e3bcab2e/workshop-cka-preparation/10.operations/exercises/cert/</link><description>Recent content in Certificates on Exoscale Academy</description><generator>Hugo</generator><language>en</language><atom:link href="https://layer5io.github.io/exoscale-academy/pr-preview/pr-378/learning-paths/1e2a8e46-937c-47ea-ab43-5716e3bcab2e/workshop-cka-preparation/10.operations/exercises/cert/index.xml" rel="self" type="application/rss+xml"/><item><title>Solution</title><link>https://layer5io.github.io/exoscale-academy/pr-preview/pr-378/learning-paths/1e2a8e46-937c-47ea-ab43-5716e3bcab2e/workshop-cka-preparation/10.operations/exercises/cert/solution/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://layer5io.github.io/exoscale-academy/pr-preview/pr-378/learning-paths/1e2a8e46-937c-47ea-ab43-5716e3bcab2e/workshop-cka-preparation/10.operations/exercises/cert/solution/</guid><description>&lt;ol&gt;
&lt;li&gt;Check the current certificate expiration dates&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Run the following command from the control plane node.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;sudo kubeadm certs check-expiration
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;This command shows all certificates managed by kubeadm and their expiration dates:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;admin.conf (client certificate for kubectl)&lt;/li&gt;
&lt;li&gt;apiserver (API server serving certificate)&lt;/li&gt;
&lt;li&gt;apiserver-etcd-client (API server to etcd client certificate)&lt;/li&gt;
&lt;li&gt;apiserver-kubelet-client (API server to kubelet client certificate)&lt;/li&gt;
&lt;li&gt;controller-manager.conf (controller manager client certificate)&lt;/li&gt;
&lt;li&gt;etcd-healthcheck-client (etcd health check client certificate)&lt;/li&gt;
&lt;li&gt;etcd-peer (etcd peer certificate for cluster communication)&lt;/li&gt;
&lt;li&gt;etcd-server (etcd server certificate)&lt;/li&gt;
&lt;li&gt;front-proxy-client (front proxy client certificate)&lt;/li&gt;
&lt;li&gt;scheduler.conf (scheduler client certificate)&lt;/li&gt;
&lt;li&gt;super-admin.conf (client certificate bypassing authorization layer)&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="hextra-callout alert alert-warning d-flex align-items-start" role="alert"&gt;
 &lt;div class="flex-shrink-0 me-2"&gt;&lt;svg height="1.2em" class="d-inline-block align-middle" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" aria-hidden="true"&gt;&lt;path stroke-linecap="round" stroke-linejoin="round" d="M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"/&gt;&lt;/svg&gt;&lt;/div&gt;
 &lt;div class="flex-grow-1 hextra-callout-content"&gt;&lt;ul&gt;
&lt;li&gt;By default, kubeadm certificates are valid for 1 year. You should renew them before they expire to avoid cluster outages.&lt;/li&gt;
&lt;li&gt;Certificate are automatically renewed during each upgrade of the control plane.&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;/div&gt;

&lt;ol start="2"&gt;
&lt;li&gt;Renew the certificates using kubeadm&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;You can renew all certificates at once.&lt;/p&gt;</description></item></channel></rss>