<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: mikailh</title>
    <description>The latest articles on DEV Community by mikailh (@mikailh).</description>
    <link>https://dev.to/mikailh</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4015636%2F8d39f53d-e8d5-44ab-b228-9dec48e0aada.png</url>
      <title>DEV Community: mikailh</title>
      <link>https://dev.to/mikailh</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/mikailh"/>
    <language>en</language>
    <item>
      <title>kubeadm init fails with "the number of available CPUs 1 is less than the required 2" on an Azure B1s VM — how I fixed it</title>
      <dc:creator>mikailh</dc:creator>
      <pubDate>Sun, 05 Jul 2026 00:17:12 +0000</pubDate>
      <link>https://dev.to/mikailh/kubeadm-init-fails-with-the-number-of-available-cpus-1-is-less-than-the-required-2-on-an-azure-3k69</link>
      <guid>https://dev.to/mikailh/kubeadm-init-fails-with-the-number-of-available-cpus-1-is-less-than-the-required-2-on-an-azure-3k69</guid>
      <description>&lt;p&gt;While setting up a self-managed Kubernetes cluster on Azure VMs, I hit this error when running &lt;code&gt;sudo kubeadm init&lt;/code&gt; on a Standard_B1s VM (1 vCPU / 1 GB RAM):&lt;/p&gt;

&lt;p&gt;[ERROR NumCPU]: the number of available CPUs 1 is less than the required 2&lt;/p&gt;

&lt;p&gt;After checking Stack Overflow and the official Kubernetes documentation ("Before you begin"), I confirmed that kubeadm requires at least 2 CPUs to install the control plane.&lt;/p&gt;

&lt;p&gt;The fix: I stopped the VM and resized it from Standard_B1s to Standard_B2s (2 vCPU / 4 GB RAM) from the Azure portal, then ran &lt;code&gt;kubeadm init&lt;/code&gt; again — the preflight checks passed and the control plane initialized successfully.&lt;/p&gt;

&lt;p&gt;Posting this in case it helps someone hitting the same issue on a low-tier cloud VM. Thanks to the community for the answers that pointed me in the right direction!&lt;/p&gt;

</description>
      <category>kubernetes</category>
      <category>azure</category>
      <category>devops</category>
    </item>
  </channel>
</rss>
