<?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: Noam Tzuberi</title>
    <description>The latest articles on DEV Community by Noam Tzuberi (@noamtzuberi).</description>
    <link>https://dev.to/noamtzuberi</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%2F4222415%2F7f7245ee-6937-4ab2-96a2-03210bd1abcf.jpg</url>
      <title>DEV Community: Noam Tzuberi</title>
      <link>https://dev.to/noamtzuberi</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/noamtzuberi"/>
    <language>en</language>
    <item>
      <title>The config change that didn't restart anything</title>
      <dc:creator>Noam Tzuberi</dc:creator>
      <pubDate>Wed, 04 Nov 2026 10:12:32 +0000</pubDate>
      <link>https://dev.to/noamtzuberi/the-config-change-that-didnt-restart-anything-pmp</link>
      <guid>https://dev.to/noamtzuberi/the-config-change-that-didnt-restart-anything-pmp</guid>
      <description>&lt;p&gt;You change a value in your Helm chart. &lt;code&gt;helm upgrade&lt;/code&gt; succeeds. The ConfigMap in the cluster shows the new value. And your app keeps behaving exactly as before.&lt;/p&gt;

&lt;p&gt;Nothing failed — that's the problem. Kubernetes did precisely what it was told.&lt;/p&gt;

&lt;h3&gt;
  
  
  Why it happens
&lt;/h3&gt;

&lt;p&gt;A Deployment only rolls its pods when the &lt;strong&gt;pod template&lt;/strong&gt; changes. A ConfigMap is a separate object. When you update it, the pods already running don't notice:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Values injected as &lt;strong&gt;environment variables&lt;/strong&gt; are read once, at container start. They stay old until the pod restarts.&lt;/li&gt;
&lt;li&gt;Values mounted as &lt;strong&gt;files&lt;/strong&gt; do update eventually, but only if your app re-reads the file. Most apps read config once at boot.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;So the upgrade "worked", the config is "deployed", and production runs the old settings until something else happens to restart the pods — a node drain, a crash, the next image release. Then the change appears hours or days later, and nobody connects it to the upgrade.&lt;/p&gt;

&lt;h3&gt;
  
  
  Why AI-written charts hit this often
&lt;/h3&gt;

&lt;p&gt;Ask an assistant for a Helm chart and you get a clean Deployment plus a ConfigMap, wired through &lt;code&gt;envFrom&lt;/code&gt;. It is correct YAML and it passes every lint. The missing piece isn't a syntax error, it's a lifecycle detail — the kind of thing that only shows up in production.&lt;/p&gt;

&lt;h3&gt;
  
  
  The fix: make the config part of the pod template
&lt;/h3&gt;

&lt;p&gt;Add a checksum of the ConfigMap as a pod annotation:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;spec&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;template&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;metadata&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
      &lt;span class="na"&gt;annotations&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
        &lt;span class="na"&gt;checksum/config&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="pi"&gt;{{&lt;/span&gt; &lt;span class="nv"&gt;include (print $.Template.BasePath "/configmap.yaml") . | sha256sum&lt;/span&gt; &lt;span class="pi"&gt;}}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Now any config change changes the annotation, the pod template changes, and Kubernetes does a normal rolling update. Same for Secrets — add a second checksum.&lt;/p&gt;

&lt;h3&gt;
  
  
  Three checks I now do on every chart
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;Every ConfigMap and Secret the app reads has a checksum annotation on the Deployment.&lt;/li&gt;
&lt;li&gt;After &lt;code&gt;helm upgrade&lt;/code&gt;, check that new pods actually started (&lt;code&gt;kubectl rollout status&lt;/code&gt;), not just that the release succeeded.&lt;/li&gt;
&lt;li&gt;Log the effective config (minus secrets) at startup, so "which value is running?" takes one log search.&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  The broader lesson
&lt;/h3&gt;

&lt;p&gt;AI tools are good at producing configuration that &lt;em&gt;looks&lt;/em&gt; complete. The gaps are in what happens over time: restarts, rollouts, caches, retries. That's where I spend my review time.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;I'm Noam Tzuberi — ex-Head of AI, 17+ years building software. I help SaaS teams ship AI features that hold up in production. Start with a 3-day AI feature audit + working prototype: &lt;a href="https://contra.com/noam_tzuberi_78uj1psz" rel="noopener noreferrer"&gt;https://contra.com/noam_tzuberi_78uj1psz&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>kubernetes</category>
      <category>helm</category>
      <category>devops</category>
      <category>ai</category>
    </item>
  </channel>
</rss>
