Skip to content

Commit 2250806

Browse files
committed
feat: implement non-blocking CRD reconciliation with requeue support
Implement non-blocking CRD reconciliation to improve controller throughput when managing large numbers of RGDs. The main idea is to free the workers to do other tasks when waiting for CRD establishment or deletion. Previously, the controller would block waiting for CRDs to become established, preventing other ResourceGraphDefinitions from being processed. This change introduces a requeue based approach where: - CRD creation happens immediately without blocking - controller checks CRD establishment status on each reconciliation - if CRD exists but isn't established, reconciler requeues after 500ms - other RGDs can be processed while waiting for CRD establishment this patch also gets rid of the CRDWraper abstraction layer as it's no longer needed.
1 parent 3154cb5 commit 2250806

File tree

11 files changed

+184
-428
lines changed

11 files changed

+184
-428
lines changed

pkg/client/crd.go

Lines changed: 0 additions & 218 deletions
This file was deleted.

pkg/client/crd_test.go

Lines changed: 0 additions & 148 deletions
This file was deleted.

0 commit comments

Comments
 (0)