Skip to content

fix: recreate version probe Job after pod GC - #360

Open
vitaliytv wants to merge 1 commit into
ClickHouse:mainfrom
vitaliytv:fix-version-probe-without-pod
Open

vitaliytv wants to merge 1 commit into
ClickHouse:mainfrom
vitaliytv:fix-version-probe-without-pod

Conversation

@vitaliytv

Copy link
Copy Markdown

Completed version probe Jobs can outlive their Pods after Pod garbage collection. The controller then repeatedly fails to read the result and blocks reconciliation with no pods found for version probe job.

When a completed Job has no Pods, delete the Job and let the next reconcile create a fresh probe. Other read failures keep their existing behavior.

Validation:

  • go test ./internal/controller -count=1 -ginkgo.v
  • make lint

@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@GrigoryPervakov GrigoryPervakov self-assigned this Oct 6, 2026

This branch has not been deployed

No deployments
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.

3 participants