Repository navigation
[release-v1.44] Run kube-controllers on the host network during a datastore migration - #5318
Merged
caseydavenport merged 1 commit intoSep 16, 2026
Conversation
Cherry picked from projectcalico/calico#13871 (89d0e923a6).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Backport of projectcalico/calico#13871, a bug fix. Losing the kube-controllers pod while a datastore migration is in progress wedges the migration: the CNI plugin refuses requests while the migration holds the v1 datastore lock, and the controller that would release that lock runs in the pod that can no longer be scheduled. Recovery needs a manual patch today.
The deployment runs on the host network while a migration is active, so the pod never calls CNI and the controller's existing resume path picks the migration back up.
The monorepo commit applies here with the path prefix stripped; the only change is where the new config field sits in this branch's kube-controllers config.
go test ./pkg/render/kubecontrollers/...passes.AI assistance: Claude Code did the port and ran the tests. I reviewed it and am responsible for it.
Release Note