Urgent.News

What's breaking now, across thousands of outlets.

Tech

The Drift Problem That Breaks GitOps at Scale

The hard part of GitOps at scale is not the sync engine. It is drift: everything that changes your cluster after Argo CD says it is in sync. If your first post on why LinkedIn outgrew Argo CD covered when the engine breaks, this covers the quieter failure -- the one that makes your Git repo lie to you. By the end you will be able to identify the three main sources of drift, write a diff job that…

The key issue with GitOps at scale is not the sync engine itself, but the problem of "drift" - the differences that arise in the live cluster after Git indicates everything is in sync. Drift can be caused by several sources: controllers that add defaults or mutate resources, deploy pipelines that patch live manifests for canaries or rollbacks, and operators that manage subresources and continuously rewrite fields. These all create a state that diverges from Git, requiring different responses.

One of the biggest mistakes teams make is assuming self-heal will fix everything. Enabling self-heal for everything causes problems when rollback tools need to quickly patch live deployments, as self-heal will quickly revert those changes, making rollbacks ineffective. A better approach is to disable self-heal for namespaces where live state is legitimately patched by tools, and use a diff job that catches drift without reverting it, alerting on the specific namespaces.

A useful diff job can be scheduled from CronJob or CI to check for orphaned or progressing resources and report any drift, comparing live state to the target state via the API. The output can then be piped to Slack for quick notification to the right owners. Meanwhile, teams should declare which fields operators legitimately own by ignoring those differences in the Application manifest, treating them as debt items with owners.

Ultimately, the deploy pipeline is the real fix for most pipeline drift - instead of direct patches, commit to an environment overlay and let sync handle the process. This makes rollbacks simpler (git revert) and creates a clear audit trail. One audited break-glass path that pauses sync before patches are applied can handle emergencies without ad-hoc patches breaking the system. Setting up the drift detection early, capping ignoreDifferences entries, and documenting who can touch live state are all key recommendations.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Using NLTP with MQTT: Healing 35% Wireless Packet Loss on ESP-NOW & UDP Before Your Broker

If you have ever deployed outdoor sensor nodes over noisy 2.4 GHz radio links, ESP-NOW, or rural 4G CGNAT modems, you have probably hit the First-Mile Wall : MQTT over TCP is great inside the cloud…

  • NLTP protocol developed to address wireless packet loss in ESP-NOW and UDP
  • NLTP improves packet loss recovery by up to 35% before reaching MQTT broker
  • NLTP uses compact header, LZ4 compression, AEAD, and Reed-Solomon error correction

Are your model's probabilities calibrated? Expected calibration error in NumPy

There was a comment on Hacker News this week saying LLM token probabilities are badly calibrated for making decisions. I think that's right, and it's also something you can measure yourself in about…

  • Expected calibration error (ECE) measures calibration of model probabilities
  • NumPy library used to calculate ECE in Python code snippet
  • Perfectly calibrated model has lowest ECE and Brier score among four tested

From Rocket Science to Code: 12 Real-World Thermodynamic Notebooks with pyglenn

Engineering textbooks routinely introduce gas dynamics under the convenient assumption of constant specific heats. Students memorize that air has a heat capacity ratio ( γ ) of 1.4, calculate cycle…

  • pyglenn-notebooks showcase real-world thermodynamic modeling
  • Brayton cycle efficiency formula assumes constant specific heats
  • pyglenn reveals 2.6 percentage point efficiency difference

I wired my own Symfony invoicing to a French e-invoicing platform. Five things I learned.

France made e-invoicing mandatory in stages. Since 1 September 2026, every VAT-registered company must be able to receive electronic invoices through an approved platform (a "plateforme agréée"…

  • France mandates e-invoicing for VAT-registered businesses starting 2026
  • Symfony app integrated with approved e-invoicing platform for issuing and receiving invoices
  • Implement feature flags and local invoice storage before connecting to the platform

Best Time to Post on Social Media: 3 Studies, 3 Different Answers

Search for the best time to post on social media and you get a confident answer in the first result, a different confident answer in the second, and a third in the next one.

  • Hootsuite, Sprout Social, Buffer each recommend different posting times
  • Studies agree weekdays are better than weekends for most networks
  • Founder following all three studies would be confused by contradictory advice

More from Saturday 14 November →