<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Kubernetes on</title><link>https://www.ardanlabs.com/categories/kubernetes/</link><description>Recent content in Kubernetes on</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Tue, 27 Jan 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://www.ardanlabs.com/categories/kubernetes/index.xml" rel="self" type="application/rss+xml"/><item><title>Kubernetes Memory Limits and Go</title><link>https://www.ardanlabs.com/blog/2024/02/kubernetes-memory-limits-go.html</link><pubDate>Tue, 27 Jan 2026 00:00:00 +0000</pubDate><guid>https://www.ardanlabs.com/blog/2024/02/kubernetes-memory-limits-go.html</guid><description>&lt;p&gt;Kubernetes memory limits introduce a subtle but critical interaction with the Go runtime that can determine whether a service runs efficiently or fails under load. This article explores how Go manages memory under normal conditions and what changes when Kubernetes enforces hard memory constraints. Using controlled load testing, it shows why Go is generally excellent at self regulating memory, how OOM events emerge once limits are imposed, and how tools like GOMEMLIMIT can be used to align the runtime with container boundaries. Originally published in July 2024, the guidance remains highly relevant for teams running Go services in containerized environments where stability and throughput are tightly coupled to memory configuration.&lt;/p&gt;</description></item><item><title>Kubernetes CPU Limits and Go</title><link>https://www.ardanlabs.com/blog/2024/02/kubernetes-cpu-limits-go.html</link><pubDate>Mon, 22 Sep 2025 00:00:00 +0000</pubDate><guid>https://www.ardanlabs.com/blog/2024/02/kubernetes-cpu-limits-go.html</guid><description>&lt;p&gt;Kubernetes CPU limits can look straightforward on the surface, but their impact on application performance is anything but simple. This article unpacks how Go services interact with Kubernetes CPU throttling and why a seemingly harmless configuration such as setting a limit of 250m can dramatically constrain performance in production. First published in February 2024, its insights remain just as relevant today for anyone running Go applications in containerized environments and for developers who want to avoid costly slowdowns.&lt;/p&gt;</description></item><item><title>Optimizing Databases on Kubernetes: Kubernetes Backup and Recovery with CNPG and ZFS Snapshots</title><link>https://www.ardanlabs.com/blog/2025/01/optimizing-databases-on-kubernetes-ep5-kubernetes-backup-and-recovery-with-cnpg-and-zfs-snapshots.html</link><pubDate>Mon, 30 Dec 2024 00:00:00 +0000</pubDate><guid>https://www.ardanlabs.com/blog/2025/01/optimizing-databases-on-kubernetes-ep5-kubernetes-backup-and-recovery-with-cnpg-and-zfs-snapshots.html</guid><description>&lt;h3 id="introduction"&gt;Introduction:&lt;/h3&gt;&#10;&lt;p&gt;In the final episode of the Optimizing Databases on Kubernetes series, Jérôme Petazzoni dives into advanced backup and recovery techniques for PostgreSQL, showcasing how CNPG (Cloud Native PostgreSQL) and ZFS snapshots ensure durability and fast recovery in production environments. This episode focuses on safeguarding data with comprehensive backup strategies, point-in-time recovery, and rapid database cloning, while leveraging ZFS’s efficiency for optimized storage performance.&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&#10;&lt;p&gt;&lt;strong&gt;Comprehensive Backup Strategies:&lt;/strong&gt; Exploring backups with CNPG, including write-ahead logs (WAL) and volume snapshots.&lt;/p&gt;</description></item><item><title>Optimizing Databases on Kubernetes Ep.4: Kubernetes Storage: Benchmarking ZFS, Cloud Disks, and Local Paths</title><link>https://www.ardanlabs.com/blog/2024/12/optimizing-databases-on-kubernetes-ep4-kubernetes-storage-benchmarking-zfs-cloud-disks-and-local-paths.html</link><pubDate>Mon, 23 Dec 2024 00:00:00 +0000</pubDate><guid>https://www.ardanlabs.com/blog/2024/12/optimizing-databases-on-kubernetes-ep4-kubernetes-storage-benchmarking-zfs-cloud-disks-and-local-paths.html</guid><description>&lt;h3 id="introduction"&gt;Introduction:&lt;/h3&gt;&#10;&lt;p&gt;In Episode 4 of the Optimizing Databases on Kubernetes series, Jérôme Petazzoni benchmarks the performance of various Kubernetes storage classes, including cloud block storage, ZFS, and Rancher’s Local Path provisioner. This episode dives into the practical aspects of measuring transactions per second, storage efficiency, and durability, offering insights into selecting the right storage solution for database workloads. Through detailed performance comparisons, Jérôme highlights how features like ZFS compression can optimize resource usage and boost database throughput.&lt;/p&gt;</description></item><item><title>Optimizing Databases on Kubernetes Ep.3: Exploring Kubernetes Storage with OpenEBS and ZFS</title><link>https://www.ardanlabs.com/blog/2024/12/optimizing-databases-on-kubernetes-ep3-exploring-kubernetes-storage-with-openebs-and-zfs.html</link><pubDate>Wed, 18 Dec 2024 00:00:00 +0000</pubDate><guid>https://www.ardanlabs.com/blog/2024/12/optimizing-databases-on-kubernetes-ep3-exploring-kubernetes-storage-with-openebs-and-zfs.html</guid><description>&lt;h3 id="introduction"&gt;Introduction:&lt;/h3&gt;&#10;&lt;p&gt;In Episode 3 of the Optimizing Databases on Kubernetes series, Jérôme Petazzoni introduces ZFS, a versatile file system renowned for its features like compression, deduplication, and snapshots. Leveraging ZFS with Kubernetes, Jérôme demonstrates how to create efficient and flexible storage solutions, complete with automated setup and configuration using tools like OpenEBS LocalPV. This episode showcases the potential of ZFS to optimize storage performance and reliability in containerized environments.&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&#10;&lt;p&gt;&lt;strong&gt;Overview of ZFS:&lt;/strong&gt; Exploring the features of this advanced file system, from snapshots to RAID configurations.&lt;/p&gt;</description></item><item><title>Optimizing Databases on Kubernetes Ep.2: Automating Database Maintenance with Kubernetes and CNPG</title><link>https://www.ardanlabs.com/blog/2024/12/optimizing-databases-on-kubernetes-ep2-automating-database-maintenance-with-Kubernetes-and-cnpg.html</link><pubDate>Thu, 12 Dec 2024 00:00:00 +0000</pubDate><guid>https://www.ardanlabs.com/blog/2024/12/optimizing-databases-on-kubernetes-ep2-automating-database-maintenance-with-Kubernetes-and-cnpg.html</guid><description>&lt;h3 id="introduction"&gt;Introduction:&lt;/h3&gt;&#10;&lt;p&gt;In this episode, Jérôme Petazzoni explores how Kubernetes and CNPG (Cloud Native PostgreSQL) work seamlessly to manage database operations during node maintenance. With real-world demonstrations, Jérôme highlights the power of Kubernetes&amp;rsquo; automation features, such as failover mechanisms and pod disruption budgets, ensuring minimal downtime and maximum reliability for database applications.&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&#10;&lt;p&gt;&lt;strong&gt;Automated Failover with CNPG:&lt;/strong&gt; How Kubernetes handles database switchover during node drains.&lt;/p&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&#10;&lt;p&gt;&lt;strong&gt;Pod Disruption Budgets (PDBs):&lt;/strong&gt; Ensuring critical pods remain unaffected during maintenance.&lt;/p&gt;</description></item><item><title>Optimizing Databases on Kubernetes Ep.1: Provisioning a Cluster and Configuring PostgreSQL on Kubernetes</title><link>https://www.ardanlabs.com/blog/2024/12/optimizing-databases-on-kubernetes-ep1-provisioning-a-cluster-and-configuring-postgresql-on-kubernetes.html</link><pubDate>Mon, 09 Dec 2024 00:00:00 +0000</pubDate><guid>https://www.ardanlabs.com/blog/2024/12/optimizing-databases-on-kubernetes-ep1-provisioning-a-cluster-and-configuring-postgresql-on-kubernetes.html</guid><description>&lt;h3 id="introduction"&gt;Introduction:&lt;/h3&gt;&#10;&lt;p&gt;In this introductory episode, Jérôme Petazzoni walks through the critical steps of provisioning a Kubernetes cluster tailored for running databases like PostgreSQL. Leveraging his extensive experience, Jérôme demonstrates practical tools and techniques to establish a scalable, cost-efficient database infrastructure while laying the groundwork for future optimizations covered in this series.&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&#10;&lt;p&gt;&lt;strong&gt;Provisioning Kubernetes Clusters:&lt;/strong&gt; A step-by-step guide to creating a reliable cluster using Linode.&lt;/p&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&#10;&lt;p&gt;&lt;strong&gt;Setting Up PostgreSQL with CNPG:&lt;/strong&gt; Deploying production-ready PostgreSQL clusters with built-in replication and backups.&lt;/p&gt;</description></item></channel></rss>