agent-substrate / agent-substrate/substrate

WorkerPool labels take long time to propagate to Worker resources

Ouverte
#1,629 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
bug-bash kind/bug
Langage dominant
Go
Étoiles
1.8k
Forks
316
Merge moyen
2 j 43 min
PR mergées (30 j)
287

Description

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

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.