<?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: Boluwatife Morawo</title>
    <description>The latest articles on DEV Community by Boluwatife Morawo (@hayone1).</description>
    <link>https://dev.to/hayone1</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%2F1230613%2F7509951c-37d6-4600-a804-3b351da4fae9.png</url>
      <title>DEV Community: Boluwatife Morawo</title>
      <link>https://dev.to/hayone1</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/hayone1"/>
    <language>en</language>
    <item>
      <title>Affordable Kubernetes: The best options</title>
      <dc:creator>Boluwatife Morawo</dc:creator>
      <pubDate>Wed, 18 Nov 2026 02:27:20 +0000</pubDate>
      <link>https://dev.to/hayone1/affordable-kubernetes-the-best-options-3d3n</link>
      <guid>https://dev.to/hayone1/affordable-kubernetes-the-best-options-3d3n</guid>
      <description>&lt;p&gt;Kubernetes brought democracy to the cloud somewhat. Anyone in the community can suggest a feature by writing a &lt;a href="https://www.kubernetes.dev/resources/keps/" rel="noopener noreferrer"&gt;Kubernetes Enhancement Proposal (KEP)&lt;/a&gt;. You can deploy a cluster on several clouds and choose how agnostic or locked-in you become.&lt;br&gt;
That's great, but it's still the cloud, and the cloud is still expensive. This may be discouraging to someone who's trying to learn Kubernetes for real, or a startup that just wants an affordable test environment. The good news is that there are several affordable options to stand up a functional and secure k8s cluster.&lt;/p&gt;
&lt;h2&gt;
  
  
  What are your options?
&lt;/h2&gt;

&lt;p&gt;&lt;/p&gt;
  TL;DR
  &lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;&lt;a href="https://www.aliexpress.com/item/1005006801741948.html" rel="noopener noreferrer"&gt;OrangePi 5 Pro&lt;/a&gt;&lt;/th&gt;
&lt;th&gt;&lt;a href="https://www.hetzner.com/cloud/regular-performance/" rel="noopener noreferrer"&gt;Hetzner&lt;/a&gt;&lt;/th&gt;
&lt;th&gt;&lt;a href="https://contabo.com/en/vps-performance/" rel="noopener noreferrer"&gt;Contabo&lt;/a&gt;&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Setup Difficulty&lt;/td&gt;
&lt;td&gt;⬤ ⬤ ⬤ ⬤&lt;/td&gt;
&lt;td&gt;⬤ ⬤&lt;/td&gt;
&lt;td&gt;⬤ ⬤ ⬤&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Cost (test env)&lt;/td&gt;
&lt;td&gt;$350 for 16GB RAM, 8 CPU&lt;br&gt;(one time purchase)&lt;/td&gt;
&lt;td&gt;$80 for 16GB RAM, 8 CPU&lt;br&gt;(postpaid monthly)&lt;/td&gt;
&lt;td&gt;$45 for 24GB RAM, 8 CPU&lt;br&gt;(prepaid monthly)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Best for&lt;/td&gt;
&lt;td&gt;labs, test env&lt;/td&gt;
&lt;td&gt;labs, test-prod env&lt;/td&gt;
&lt;td&gt;labs, test-prod env&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;



&lt;p&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fi3z9p7mtwyvmjvdn6gea.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fi3z9p7mtwyvmjvdn6gea.png" alt="Line chart of total cost over 12 months for a 16GB, 8 CPU test environment. The OrangePi stays flat at $350 after the one-time purchase. Hetzner grows by $80 a month and passes the OrangePi in month 5. Contabo grows by $45 a month and passes the OrangePi in month 8." width="799" height="413"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Firstly, it's important to remove any stereotypes that tell you that production environments can only be deployed on a major hyperscaler or some super expensive self-maintained data center. There are several organizations that were able to reduce their entire cloud bill from tens of thousands to a few thousand dollars because they changed their mindset. That said, let's get into the options.&lt;/p&gt;

&lt;h2&gt;
  
  
  OrangePi
&lt;/h2&gt;

&lt;p&gt;This is one of the more powerful cousins of the Raspberry Pi, with a lot more options. It has the most expensive initial cost among the options. For about $350 you can get a board with 8 CPUs and 16GB RAM like the &lt;a href="https://www.aliexpress.com/item/1005006801741948.html" rel="noopener noreferrer"&gt;Orange Pi 5 Pro&lt;/a&gt;, &lt;a href="https://www.aliexpress.com/item/1005007356107781.html" rel="noopener noreferrer"&gt;Orange Pi 5 Max&lt;/a&gt; and &lt;a href="https://www.aliexpress.com/item/1005010157378785.html" rel="noopener noreferrer"&gt;Orange Pi 6 Plus&lt;/a&gt;. If you have a higher budget, you could also get 32GB variants like this &lt;a href="https://www.aliexpress.com/item/1005012530475330.html" rel="noopener noreferrer"&gt;Orange Pi 6 Plus&lt;/a&gt;.&lt;br&gt;
You'd also need to get a router, network cable, power cable and charging brick that meets the power demand of the unit you have.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;⚡ Meeting the power requirement is very essential, or your unit just won't run.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h3&gt;
  
  
  My OrangePi Setup
&lt;/h3&gt;

&lt;p&gt;I use my OrangePi cluster to test fairly heavy workloads like the &lt;a href="https://grafana.com/about/grafana-stack/" rel="noopener noreferrer"&gt;LGTM+ stack&lt;/a&gt; running in microservices mode. This setup should give an idea of a practical configuration, although the final price you get might vary.&lt;/p&gt;

&lt;h4&gt;
  
  
  Physical Components
&lt;/h4&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Item&lt;/th&gt;
&lt;th&gt;QTY&lt;/th&gt;
&lt;th&gt;Total Price&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href="https://www.aliexpress.com/item/1005006800863351.html" rel="noopener noreferrer"&gt;Orange Pi 5 Pro (8 CPU, 16GB RAM)&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;x4&lt;/td&gt;
&lt;td&gt;$1,264.33&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href="https://www.aliexpress.com/item/1005006160291558.html" rel="noopener noreferrer"&gt;M2.5 Series Hex Brass Column&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;x1&lt;/td&gt;
&lt;td&gt;$11.73&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href="https://www.aliexpress.com/item/1005007294796796.html" rel="noopener noreferrer"&gt;Wire Zip Ties&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;x1&lt;/td&gt;
&lt;td&gt;$1.32&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href="https://www.aliexpress.com/item/1005013515583073.html" rel="noopener noreferrer"&gt;SanDisk Extreme Pro Micro SD&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;x4&lt;/td&gt;
&lt;td&gt;$63.84&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href="https://www.aliexpress.com/item/1005004405900182.html" rel="noopener noreferrer"&gt;KingSpec SSD (128GB)&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;x4&lt;/td&gt;
&lt;td&gt;$129.81&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href="https://www.aliexpress.com/item/1005006989183547.html" rel="noopener noreferrer"&gt;Orange Pi 5 Pro Acrylic Case&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;x4&lt;/td&gt;
&lt;td&gt;$27.17&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href="https://www.aliexpress.com/item/1005010379307213.html" rel="noopener noreferrer"&gt;Orange Pi 5 Pro Copper Case&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;x4&lt;/td&gt;
&lt;td&gt;$89.05&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href="https://www.aliexpress.com/item/1005008525558891.html" rel="noopener noreferrer"&gt;Cooling Fan 30 x 30 x 7mm (5V)&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;x4&lt;/td&gt;
&lt;td&gt;$11.96&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href="https://www.aliexpress.com/item/1005008830706618.html" rel="noopener noreferrer"&gt;8-Port Ethernet Network Switch&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;x1&lt;/td&gt;
&lt;td&gt;$20.96&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Broadband router (already had one)&lt;/td&gt;
&lt;td&gt;x1&lt;/td&gt;
&lt;td&gt;-&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Total Price&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;$1,620.17&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;I had also bought a &lt;a href="https://www.aliexpress.com/item/1005004910531555.html" rel="noopener noreferrer"&gt;10 Ports USB 3.0 HUB Charging&lt;/a&gt; at some point. I paused using it for several months, but when I finally decided to use it again, it didn't work.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;💡 If an item is no longer available from the linked seller, it can probably be bought from another seller.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h4&gt;
  
  
  Pi K8s Setup
&lt;/h4&gt;

&lt;p&gt;I installed &lt;a href="https://github.com/mack42/OrangePi5Pro" rel="noopener noreferrer"&gt;Ubuntu 26.04&lt;/a&gt; on each server, initially on the SD cards, then on the SSD drives. The easier option is to install the OS only on the SD card, as it allows you to use the SSD fully for persistent volume storage.&lt;/p&gt;

&lt;p&gt;I installed k3s using a modified version of the &lt;a href="https://github.com/k3s-io/k3s-ansible" rel="noopener noreferrer"&gt;k3s-ansible&lt;/a&gt; project. I also used Cilium for the CNI, load balancer and Gateway API, but you'd be fine using the defaults.&lt;/p&gt;

&lt;p&gt;I installed external-dns + cert-manager and integrated them with Azure DNS (I bought the domain from Hostinger and &lt;a href="https://learn.microsoft.com/en-us/azure/dns/dns-delegate-domain-azure-dns" rel="noopener noreferrer"&gt;delegated it to Azure&lt;/a&gt;). At this point, I could only access the cluster when on the local network, but I didn't have to deal with certificate issues or mess with host entries.&lt;/p&gt;

&lt;p&gt;For access over the internet, I bought a cheap VPS on Contabo, linked it to the Pi servers using &lt;a href="https://pinggy.io/blog/ssh_reverse_tunnelling/" rel="noopener noreferrer"&gt;SSH reverse tunneling&lt;/a&gt; and exposed it via TLSRoute (k3s was also installed on the Contabo server).&lt;/p&gt;

&lt;p&gt;That method wasn't really neat, so what I'd rather advise is to use &lt;a href="https://github.com/fatedier/frp" rel="noopener noreferrer"&gt;fast reverse proxy&lt;/a&gt;, which will link the 2 clusters (the Pi cluster and the one on the server).&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Tailscale can also do the job.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fzu38aup082oysrlxihqc.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fzu38aup082oysrlxihqc.png" alt="How a reader reaches the OrangePi cluster: the browser connects to a public Contabo VPS running k3s, and an frp tunnel (or SSH reverse tunnel, or Tailscale) carries the traffic through the home router and switch to the four Orange Pi nodes. On the local network, devices reach the nodes directly." width="799" height="589"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Hetzner
&lt;/h2&gt;

&lt;p&gt;Hetzner is the most mature and production-ready option, thanks to community contributions. One regular performance server with 8 vCPU and 16GB RAM - &lt;a href="https://www.hetzner.com/cloud/regular-performance/" rel="noopener noreferrer"&gt;CPX42&lt;/a&gt; will cost ~$80.&lt;/p&gt;

&lt;h3&gt;
  
  
  My Hetzner Setup
&lt;/h3&gt;

&lt;p&gt;I mostly use Hetzner for short end-to-end tests when I need a throwaway server. Though you can buy domains from Hetzner's &lt;a href="https://www.hetzner.com/registrationrobot/" rel="noopener noreferrer"&gt;domain registration robot&lt;/a&gt;, I still bought my domain from Hostinger and delegated it to Hetzner's nameservers.&lt;/p&gt;

&lt;p&gt;I use the &lt;a href="https://github.com/hcloud-k8s/terraform-hcloud-kubernetes" rel="noopener noreferrer"&gt;hcloud-k8s&lt;/a&gt; Terraform module to set up the cluster, but you can also use &lt;a href="https://github.com/vitobotta/hetzner-k3s" rel="noopener noreferrer"&gt;hetzner-k3s&lt;/a&gt;. A good note for secure access here is that it comes with Tailscale support.&lt;/p&gt;

&lt;h2&gt;
  
  
  Contabo
&lt;/h2&gt;

&lt;p&gt;Contabo is a really great option once you understand its quirks. For example, payment is prepaid, so you can't just spin up and tear down servers as you wish. You can cancel a server's subscription, but it will stay active till the end of its billing period since you already paid in full. Similar to Hetzner, there are also 3 main pricing tiers. The &lt;a href="https://contabo.com/en/vps/" rel="noopener noreferrer"&gt;Core VPS&lt;/a&gt; is subject to heavy sharing on CPU cores, disk I/O and network links. &lt;a href="https://contabo.com/en/vps-performance/" rel="noopener noreferrer"&gt;Performance VPS&lt;/a&gt; works similarly but uses newer AMD EPYC processors. &lt;a href="https://contabo.com/en/vps-dedicated/" rel="noopener noreferrer"&gt;Max Performance VPS (VDS)&lt;/a&gt; offers full compute isolation and is what you'll want to use for production.&lt;/p&gt;

&lt;p&gt;Contabo doesn't have feature parity with Hetzner, but it has all the features you need to create a cluster.&lt;/p&gt;

&lt;h3&gt;
  
  
  My Contabo Setup
&lt;/h3&gt;

&lt;p&gt;I personally use Contabo in production. Like Hetzner, you can &lt;a href="https://contabo.com/en/domains/" rel="noopener noreferrer"&gt;buy domains from Contabo&lt;/a&gt;, but I prefer to buy mine from Hostinger and delegate it to Contabo's nameservers. Why? Because that's the cheaper option.&lt;/p&gt;

&lt;p&gt;The Terraform module I use is &lt;a href="https://registry.terraform.io/modules/hayone1/kubernetes/contabo/latest" rel="noopener noreferrer"&gt;contabo-kubernetes&lt;/a&gt;. It's the only module available. It also comes with support for Tailscale/Headscale integration. One major difference in the architecture compared to the Hetzner setup is that your load balancer will essentially be one or more of the nodes rather than a dedicated cloud load balancer service.&lt;br&gt;
You can also use &lt;a href="https://github.com/k3s-io/k3s-ansible" rel="noopener noreferrer"&gt;k3s-ansible&lt;/a&gt; if Ansible is your preferred route.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ff53t9fpmgcosw38cokf3.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ff53t9fpmgcosw38cokf3.png" alt="Load balancing on Hetzner and on Contabo. On Hetzner, traffic from the internet reaches a managed Hetzner Load Balancer, which spreads it over the cluster nodes. On Contabo, traffic reaches the public IP of one or more cluster nodes, and that node acts as the load balancer for the rest of the cluster." width="800" height="390"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Wrapping up
&lt;/h2&gt;

&lt;p&gt;When you cut out most of the marketing noise, you'd find that there are several cost-effective ways to do many things, including deploying Kubernetes. What about stateful workloads like databases, you say? We'll explore that in another article, which I'll link here once it's ready.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Originally published at &lt;a href="https://codejourney.io/blog/affordable-kubernetes-the-best-options" rel="noopener noreferrer"&gt;codejourney.io&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>kubernetes</category>
      <category>devops</category>
      <category>terraform</category>
      <category>linux</category>
    </item>
  </channel>
</rss>
