Allow a result that indicates the reconciliation is incomplete and does not trigger the exponential backoff logic
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 30/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- go
- Ambito
- backend-api-design
Direzione di ricerca
Inizia leggendo pkg/internal/controller/controller.go intorno alle righe 214-235, soprattutto il modo in cui RequeueAfter, Requeue e gli errori influiscono sull’accodamento. Segui la gestione del risultato e il flusso di reconciliation circostante per determinare dove un risultato incompleto potrebbe evitare un nuovo accodamento mentre i watches attivano richieste future. Il lavoro è completo quando il comportamento per una reconciliation incompleta senza Requeue esplicito o esponenziale è definito e coperto.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
After discussing this with @detiber, we realized there's no good solution for the following case:
- A request is received
- The request cannot proceed because of a missing dependency on resource A
- The reconciler is watching events for resource A
- The reconciler returns a result that indicates the reconciliation is incomplete due to reason X, but the request should not be requeued
Instead the current logic is:
- A reconciler is using one or more watches to trigger requests
- A request cannot proceed due to a missing dependency
- If
result.RequeueAfter > 0then the request is added to the queue for processing after the value specified byresult.RequeueAfter - If
result.Requeueistruethen the request is added to the queue with the same exponential backoff logic used when an error is returned - If an error is returned then the request is added to the queue with the exponential backoff logic
Today there is currently no way to indicate a reconciliation is incomplete without also having the request requeued by the manager either via an explicit amount of time or the exponential backoff logic (due to error or Requeue == true).
There should be a way to signal:
- The reconciliation is incomplete
- Do not requeue, the reconciler is watching the resources necessary to trigger its own events
Thanks!
- Lingua principale
- Go
- Stelle
- 3k
- Fork
- 1.3k
- Merge medio
- 1g 7h
- PR unite (30g)
- 48
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di kubernetes-sigs/controller-runtime
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
kubernetes-sigs/controller-runtime#3704 ·
I maintainer di solito rispondono entro 1 giorno
-
lifecycle/rotten
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
kubernetes-sigs/controller-runtime#3537 · 4 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Read-your-writes consistency is not applied to unstructured objects written with Update or PatchForse già presa @7616e5a9c573ffb221843a498885ab0f l’ha presa 1 giorno fa. Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 25/100
kubernetes-sigs/controller-runtime#3702 ·
I maintainer di solito rispondono entro 1 giorno
-
Client and DynamicRESTMapper keep a kind's old scope after its CRD is recreated with a different `scope`Forse già presa @AdamMagued l’ha presa 1 giorno fa. Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
kubernetes-sigs/controller-runtime#3671 ·
I maintainer di solito rispondono entro 1 giorno
-
ReadYourWrite doesn't correctly deal with mutating requests removing the last finalizerForse già presa @AdamMagued l’ha presa 1 giorno fa. Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 28/100
kubernetes-sigs/controller-runtime#3670 · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di kubernetes-sigs/controller-runtime
Issue simili
-
fix: restore GitHub issue templates and check their license headersForse già presa @slievrly l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
rossoctl/context-guru#1548 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
hiddify/hiddify-core#186 ·
-
Pixiv source name mismatchAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100