agent-substrate / agent-substrate/substrate

WorkerPool labels take long time to propagate to Worker resources

Aberta
#1,629 0 comentários 0 reações 0 responsáveis Ver no GitHub
bug-bash kind/bug
Linguagem predominante
Go
Estrelas
1.8k
Forks
316
Merge médio
2d 43min
PRs com merge (30d)
287

Descrição

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

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.