Urgent.News

What's breaking now, across thousands of outlets.

Tech

Our deploy script kept every value except the ones the new chart added

In August a node in our production cluster came under memory pressure and the kubelet evicted every checkout pod on it, while pods of other services on the same node, using more memory, stayed put. Checkout lost a third of its capacity for six minutes. The events explained it in one word: the evicted pods were BestEffort. They had no resource requests at all. They were supposed to. Since April…

In August, a memory pressure issue in a production cluster node caused the kubelet to evict checkout pods, leaving the service with only a third of its capacity for six minutes. The cause was traced back to BestEffort pods lacking resource requests. Since April, the shared service chart had implemented default requests and limits for all services, causing every service repository to update to version five.

As a result, twenty-three out of thirty-one services in production lacked these values. The deploy script, written three years ago, used --reuse-values to maintain hand-set initial values, unintentionally preserving the chart's defaults. Consequently, production releases from 2023 inherited these default values and continued to run without explicit resource requests.

To address this, the team now deploys with explicit environment-specific values files and rejects pods without memory requests in production namespaces. A new deployment process includes collecting existing settings, checking for differences with production, and displaying helm diffs in pull requests.

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

#IOE Admission Hub: Building a Rank Predictor and Campus Explorer for Nepal

Some web projects start with a technology you want to learn. Others start with a problem you want to make easier. IOE Admission Hub started with the second idea: creating a more approachable way for…

  • IOE Admission Hub merges rank-prediction tool, campus-explorer, and admission website for Nepal
  • Rank Predictor offers possible engineering outcomes, not official results
  • Campus Explorer helps students discover engineering campuses and options

Converting office files to Markdown and back with MarkAny

I keep notes in Markdown and receive everything else: PDF, Word, Excel, PowerPoint, HTML, EPUB, and photos of whiteboards.

  • MarkAny converts various file formats to Markdown
  • Batch conversion simplifies editing process
  • Text recognition aids converting photos to text

More from Monday 12 October →