agent-substrate / agent-substrate/substrate

WorkerPool labels take long time to propagate to Worker resources

Aperta
#1,629 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
bug-bash kind/bug
Lingua principale
Go
Stelle
1.8k
Fork
316
Merge medio
2g 43m
PR unite (30g)
287

Descrizione

When the `metadata.labels` field of WorkerPool changes, it takes a long time (5 minutes) for the change to propagate to the associated `Worker` resources.

The simplest way to reproduce using the counter demo is just by running `kubectl label workerpool counter -n ate-demo-counter repro=test` and then polling the worker until the label come up by doing `kubectl ate get worker -o yaml`.

I believe this is because the reconciler is watching pod changes, not workerpool changes, and the pod informer has a resync period of 5 minutes.

@sfunkenhauser

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.