Split ConfigMap values caused duplicate dispatch emails for two months
A software team discovered that editing a Kubernetes ConfigMap does not trigger a pod restart, meaning environment variables are only updated when pods are recycled. A lease duration change made in June — cutting job timeout from ten minutes to two — never propagated to all running pods until a node pool upgrade in August partially applied it. This left 6 of 24 pods running the new two-minute lease while 18 retained the old ten-minute value, creating inconsistent job-handling behavior across the fleet. Any email send taking over two minutes would be reassigned by the queue and delivered twice, affecting roughly one in every nine thousand sends. The team resolved the issue by adding a configuration hash annotation to deployments and setting up alerts to detect when pods in a fleet report differing config values.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in