8000 k3s: Demote the CronJob controller's status conflicts by andsens · Pull Request #59 · nixos-homelab/shared · GitHub
[go: up one dir, main page]

Skip to content

k3s: Demote the CronJob controller's status conflicts - #59

Merged
andsens merged 3 commits into
mainfrom
claude/k3s-cronjob-conflict
Nov 28, 2026
Merged

andsens merged 3 commits into
mainfrom
claude/k3s-cronjob-conflict

Conversation

@andsens
@andsens andsens commented Nov 25, 2026 •
Copy link
Copy Markdown
Collaborator

When a CronJob's Job finishes within seconds, the CronJob controller updates the CronJob's status from a stale copy, hits a conflict (Operation cannot be fulfilled on cronjobs.batch "…": the object has been modified), requeues, and succeeds on the next try. For ghostfolio/sync-accounts that's 31 errors a day. The log message is klog's generic Unhandled Error; the actual text is in error.

homelab-monitoring is locked at monitoring main (ba79133), which includes #67. checks.logs passes (15 examples, 26 records).

🤖 Generated with Claude Code

andsens and others added 3 commits November 25, 2026 18:49
The CronJob controller updates a CronJob's status from a stale copy when
a Job finishes within seconds of its start, gets a conflict, requeues,
and the next try lands: 31 errors a day for ghostfolio/sync-accounts. The
message is klog's "Unhandled Error"; the demotion matches the conflict in
`error` (nixos-homelab/monitoring#67, locked at its branch until it
merges).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@andsens
andsens marked this pull request as ready for review November 28, 2026 19:38
@andsens
andsens enabled auto-merge (squash) November 28, 2026 19:38
@andsens
andsens merged commit cd0714d into main Nov 28, 2026
4 checks passed
@andsens
andsens deleted the claude/k3s-cronjob-conflict branch November 28, 2026 19:54
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.

1 participant

0