Skip to content

Schedule requeue when updateStatus fails in K0sControlPlane defer#1368

Open
kahirokunn wants to merge 1 commit intok0sproject:mainfrom
kahirokunn:fix/kcp-requeue-on-status-error
Open

Schedule requeue when updateStatus fails in K0sControlPlane defer#1368
kahirokunn wants to merge 1 commit intok0sproject:mainfrom
kahirokunn:fix/kcp-requeue-on-status-error

Conversation

@kahirokunn
Copy link
Contributor

@kahirokunn kahirokunn commented Feb 25, 2026

When updateStatus fails, the defer returns early with the zero value of res, so controller-runtime does not schedule a retry. This can cause the controller to stall until an external event triggers reconciliation.

@kahirokunn kahirokunn requested a review from a team as a code owner February 25, 2026 04:28
@kahirokunn kahirokunn force-pushed the fix/kcp-requeue-on-status-error branch from b1873f6 to 5c312d2 Compare February 25, 2026 04:42
Signed-off-by: kahirokunn <okinakahiro@gmail.com>
@kahirokunn kahirokunn force-pushed the fix/kcp-requeue-on-status-error branch from 5c312d2 to d0398f6 Compare February 25, 2026 05:27
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