<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Netanel Kadosh on Medium]]></title>
        <description><![CDATA[Stories by Netanel Kadosh on Medium]]></description>
        <link>https://medium.com/@netanel.kadosh?source=rss-99b8414cb237------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*9E_gaPyxM6lfDZGHGadxTA.jpeg</url>
            <title>Stories by Netanel Kadosh on Medium</title>
            <link>https://medium.com/@netanel.kadosh?source=rss-99b8414cb237------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 20:21:19 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@netanel.kadosh/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Still Managing Redis in Kubernetes for Argo CD? We stopped.]]></title>
            <link>https://medium.com/kaltura-tech/still-managing-redis-in-kubernetes-for-argo-cd-we-stopped-96b9b825d987?source=rss-99b8414cb237------2</link>
            <guid isPermaLink="false">https://medium.com/p/96b9b825d987</guid>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[argo-cd]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[redis]]></category>
            <dc:creator><![CDATA[Netanel Kadosh]]></dc:creator>
            <pubDate>Mon, 01 Sep 2025 10:53:22 GMT</pubDate>
            <atom:updated>2026-10-26T13:13:17.370Z</atom:updated>
            <content:encoded><![CDATA[<h4><strong><em>Cut Redis. Cut Complexity. Cut Costs.</em></strong></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RJUuO5RqmU4zPTaWPKk-3A.jpeg" /></figure><p><em>At Kaltura, switching to </em><strong><em>AWS ElastiCache Serverless for Valkey</em></strong><em> helped us eliminate Redis ops, cut Redis costs by over 95%, and simplify GitOps at scale. This is the story of how we made that decision, how we made the switch, and what we’ve learned from it.</em></p><p><em>That’s how we turned ArgoCD into a </em><strong><em>Lean, Mean, GitOps machine</em></strong><em>.</em></p><p><strong><em>Disclaimer:</em></strong><em> While this post focuses on </em><strong><em>AWS ElastiCache Serverless for Valkey</em></strong><em>, teams using </em><strong><em>Azure Cache for Redis</em></strong><em> or </em><strong><em>Google Cloud Memorystore</em></strong><em> can take a similar approach. The core idea of offloading Redis to a managed service to reduce complexity and cost applies across clouds. Whether you’re on AWS, Azure, or GCP, simplifying your GitOps stack is within reach.</em></p><blockquote><strong>Update (Oct 2026):</strong> Corrected the data-transfer pricing: ElastiCache Serverless has no in-Region transfer charge through its VPC endpoint (not “inbound only”).</blockquote><h3><strong>Why We Rethought Argo CD’s Defaults</strong></h3><p>Deploying Argo CD with its default manifests is easy. That’s part of the appeal. But defaults are built for getting started, not for running GitOps at scale.</p><p>The default High Availability (HA) configuration includes six extra pods: three Redis and three HAProxy. Each Argo CD instance brings its own set of these, increasing memory, CPU, and operational complexity. When you’re running multiple instances across various environments, the cost, both financial and cognitive, adds up quickly.</p><p>At Kaltura, our platform team manages <strong>dozens of Argo CD instances</strong>, powering GitOps across <strong>hundreds of Kubernetes clusters</strong> and <strong>thousands of applications synced daily</strong>. Over time, we found ourselves spending far too much time managing Redis. It wasn’t just the infrastructure; it was the attention it demanded.</p><p>Redis was slowing us down.</p><h3><strong>What We Were Up Against</strong></h3><h4><strong>Redis Became a Cost Center</strong></h4><p>On paper, Redis is lightweight. But in a real-world HA Argo CD setup, it became expensive. Six additional pods per instance quickly multiplied across environments.</p><p>Worse, Argo CD’s architecture involves Redis traffic flowing through HAProxy before hitting the actual Redis master. In many cases, that traffic often crossed availability zones. On AWS, that meant we were being charged for <strong>every hop</strong> <strong>in both directions</strong>.</p><p>Two hops per request. Four cents per gigabyte. Syncing thousands of apps added up.</p><p>At its peak, our Redis infrastructure cost us nearly <strong>$2,000 a month</strong>. That didn’t even include the time engineers spent maintaining it.</p><h4><strong>We Were Stuck in Redis Ops</strong></h4><p>Redis isn’t set-it-and-forget-it. We found ourselves constantly monitoring pod health, tuning memory limits, updating connection thresholds, upgrading versions to mitigate security vulnerabilities like <a href="https://cycode.com/blog/revealing-argo-cd-critical-vulnerability/">CVE-2024–31989</a>, and manually fixing breaking changes introduced by upstream updates. It wasn’t just a background service anymore; it had become a workload of its own.</p><p>And the frustrating part? We never set out to run Redis. We wanted to run GitOps.</p><h4><strong>Our Turning Point</strong></h4><p>Eventually, we asked the obvious question: <strong>Why are we managing Redis in the first place?</strong></p><p>We didn’t have a good answer. So we started looking for alternatives that aligned with how we already operate in the cloud, fully managed, scalable, and resilient by default.</p><p>That’s when we landed on <strong>AWS ElastiCache Serverless for Valkey</strong>. And for teams using <strong>Azure</strong> or <strong>Google Cloud</strong>, equivalent managed Redis offerings may work similarly well. The important thing is offloading the work, not the specific provider.</p><h4><strong>What We Switched To</strong></h4><p><a href="https://github.com/valkey-io/valkey"><strong>Valkey</strong></a> is a Redis-compatible engine that works seamlessly with Argo CD. It was created as a fork after Redis changed its licensing model, and AWS supports it as part of its ElastiCache offering.</p><p>The serverless variant was the real win. Instead of provisioning and managing Redis clusters ourselves, we could just point Argo CD to a managed endpoint. No patching. No scaling decisions. No custom monitoring. AWS would take care of everything.</p><p>Even better, ElastiCache lets us create logical databases, which means we can consolidate multiple Argo CD instances into a single backend while maintaining isolation.</p><p>This setup lets us eliminate Redis pods from our clusters, remove HAProxy entirely, and simplify our entire caching layer. We simply pointed Argo CD to the new endpoint and let AWS handle the rest.</p><h3><strong>Making the Move</strong></h3><p>So, how did we make the switch?</p><p>We started by provisioning an <strong>ElastiCache Serverless Valkey</strong> instance and configuring it with a secure username and password. Logical DBs allowed us to support multiple Argo CD environments from a single backend.</p><p>Next, we updated the Argo CD config to use the external Redis endpoint. Since ElastiCache enforces TLS by default, we added the --redis-use-tls flag to all relevant components: the <strong>application controller</strong>, <strong>repo server</strong>, and <strong>Argo CD server</strong>.</p><p>Then, we disabled Argo CD’s built-in Redis and HAProxy pods in our Helm charts. That reduced pod count and immediately freed up compute resources in every cluster.</p><p>Here are the complete values.yaml we used for this</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/fbc776303733ce5afdf45ef1dff5e02e/href">https://medium.com/media/fbc776303733ce5afdf45ef1dff5e02e/href</a></iframe><p>That was it. The migration required no downtime, and Argo CD rebuilt its cache automatically after restart.</p><p>Whether you’re on AWS or another provider, the steps are conceptually similar. Create the managed Redis backend, secure it, point Argo CD at it, and disable the in-cluster version.</p><h3><strong>What Changed for Us</strong></h3><h4><strong>1. 95% Cost Reduction</strong></h4><p>Our monthly Redis-related expenses dropped from around <strong>$2,000</strong> to <strong>just over $100</strong>. ElastiCache Serverless itself costs only <strong>$30</strong>, and the rest is offset by reduced network traffic.</p><p>Because ElastiCache Serverless has no in-Region data-transfer charge through its VPC endpoint, we slashed our data transfer costs from <strong>$0.04 to $0 </strong>per GB (updated).</p><p>The impact was immediately visible in our monthly AWS bill. The following graph from Cost Explorer shows the drop in Redis-related infrastructure spending after we migrated to ElastiCache Serverless:</p><figure><img alt="800. December 2024: $2,600, highest point. January 2025: $1,400. February through May 2025: under $100 each month. Primary cost components are InterZone-In and InterZone-Out services, with additional costs from CreateServerlessCache, VPCPeering, and PublicIP services." src="https://cdn-images-1.medium.com/max/1024/1*No0EJIUEz3dmwqN-tm607w.png" /><figcaption>Monthly Redis-related costs before and after switching to ElastiCache Serverless.</figcaption></figure><p>With no Redis or HAProxy pods, we now have a leaner and faster GitOps.</p><h4><strong>2. No More Redis Maintenance</strong></h4><p>We no longer patch Redis. We don’t scale it. We don’t worry about backups or failovers. AWS handles all of that for us.</p><p>What used to require engineering time now just works.</p><h4><strong>3. Improved Performance and Resilience</strong></h4><p>ElastiCache Serverless scales automatically with real usage. When we trigger bulk syncs or onboard a new batch of applications, the Redis backend grows and shrinks without intervention.</p><p>The service runs across multiple availability zones with a <strong>99.99% SLA</strong>. That’s better resilience than we ever achieved with self-hosted Redis.</p><p>And in disaster recovery scenarios, we no longer wait for Redis pods to stabilize or for app state to rehydrate. Argo CD connects immediately to the external cache and continues as if nothing happened.</p><h3><strong>Lessons Learned</strong></h3><p>This migration gave us more than savings; it gave us focus.</p><p>We no longer spend time troubleshooting Redis. We no longer lose sleep over memory pressure during high-sync windows. And we’ve stopped writing internal runbooks on how to upgrade Redis in place.</p><p>The move also forced us to ask deeper questions about other components we manage. If Redis can be offloaded, what else can?</p><p>This shift wasn’t about changing Redis. It was about changing how we think about platform architecture: leaner, simpler, cloud-native by default.</p><p>Redis was just the beginning.</p><h3><strong>Thinking About Making the Switch?</strong></h3><p>If you’re currently running Redis in Kubernetes for Argo CD, start by taking a closer look at your actual costs. Look beyond compute, including network traffic and engineering time. Add up what you’re really spending.</p><p>If GitOps is about reducing manual work and focusing on the desired state, does running your own Redis align with that philosophy? In most cases, it won’t.</p><p>Try migrating a non-critical Argo CD instance to a managed backend like <strong>ElastiCache</strong>, <strong>Memorystore</strong>, or <strong>Azure Cache</strong>. The compatibility is high, and logical databases allow easy multi-tenant setups.</p><p>And when you’re ready, start with a single production cluster. The benefits show up immediately. You’ll spend less. You’ll ship faster. And you’ll finally stop babysitting Redis.</p><p>We stopped managing Redis and we’re not looking back. Now it’s your turn.</p><h3><strong>Let’s Talk</strong></h3><p>Got questions? Running a similar setup? I’d love to hear how you’re scaling GitOps in your organization.</p><p>I’ve shared most of our journey here, but if you’re curious about our internal migration checklist, cost breakdown, or want to dig deeper, feel free to reach out.</p><p>You can drop a comment, connect with me on <a href="https://www.linkedin.com/in/netanel-kadosh">LinkedIn</a>, or message me directly. Always happy to share notes and help others ship faster.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=96b9b825d987" width="1" height="1" alt=""><hr><p><a href="https://medium.com/kaltura-tech/still-managing-redis-in-kubernetes-for-argo-cd-we-stopped-96b9b825d987">Still Managing Redis in Kubernetes for Argo CD? We stopped.</a> was originally published in <a href="https://medium.com/kaltura-tech">Kaltura Technology</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>