Skip to content

fix(kubernetes): reuse active helper jobs - #115

Merged
MarcStdt merged 1 commit into
masterfrom
codex/reuse-active-helper-job
Aug 23, 2026
Merged

MarcStdt merged 1 commit into
masterfrom
codex/reuse-active-helper-job

Conversation

@MarcStdt

Copy link
Copy Markdown
Contributor

Summary

  • reuse nonterminal helper Jobs during concurrent ensure requests
  • delete terminal same-name Jobs with foreground propagation
  • prevent stale Pods from racing registry secret cleanup

Production evidence

A concurrent deployment ensure created a new registry secret while a Pod from the replaced Job still referenced the old secret, causing CreateContainerConfigError.

Validation

  • GOCACHE=/tmp/druid-go-build go test ./internal/runtime/kubernetes

@druid-infra

Copy link
Copy Markdown
Contributor
Error: This repo is not allowlisted for Atlantis.

@MarcStdt
MarcStdt force-pushed the codex/reuse-active-helper-job branch from a89de6d to 3e2782f Compare August 23, 2026 11:44
@MarcStdt
MarcStdt merged commit d1a87da into master Aug 23, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants