FeatureRecipe
period-budget-traefik-hub
Realizes core/period-budget on core/gateway/traefik-hub; a Release binds it in its Manifest. It emits no file: the gateway's chart Recipe, traefik-hub-chart, writes it as Traefik Hub's quota middleware on the route of each model wired to the gateway, counting in the Redis-protocol store on its cache socket. The quota counts the tokens each reply reports, read, written or both as unit names, or, under usd, their cost in US dollars, priced from a list of models the middleware ships with; a model it has no price for is refused with HTTP 422. It counts over a window that slides with time: what was counted at one moment frees again one period later. Once the count reaches limit, model requests are refused with HTTP 429; a request's count is added once its reply completes, so the request crossing the limit, and any served beside it, is served, and a reply the semantic cache serves counts nothing. Traefik's reference says the quota serves requests uncounted while the store cannot be reached. So it honours every unit, scope model, scope gateway while one model is wired, and a period of hours or days, or minutes or seconds making whole hours. It refuses scope caller, scope gateway with several models wired, a calendar month and any other period by name, and halts on a limit that is not a whole number of tokens, with nothing wired to the models or cache socket, and on any component other than core/gateway/traefik-hub. That the gateway enforces the budget is not observed by any build.
Provenienza
- Digest del contenuto
- sha256:69f8659b2fd4f3e567ff662ab31bbc9f48a37f6e010602523e17e97316a552b5
- Pubblicato
- 2026-11-10T10:15:55Z
- Identità di firma
- https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
Firma
- Ufficialeapplication/vnd.dev.sigstore.bundle.v0.3+json
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
sha256:7b2d0e086c77caa4369590d35d929e23b66a9e42e64964bf20cff311b8454eb8
Riferimento a questa versione
oci://hub.aggrega.ai/featurerecipe/helm/period-budget-traefik-hub:1.0.0- Destinazione
- —
- Implementa
- core/period-budget:1.0.0
Fornisce
Modelli di puntatori deterministici che questa ricetta collega per i consumatori.
Nessun modello provides dichiarato.
Workload
Nessun modello di workload dichiarato.
Variabili locali
Nessuna variabile locale dichiarata.
Mappatura dei valori
Nessuna mappatura dei valori dichiarata.
Relazioni
Archi tipizzati da e verso altre entità pubblicate. Un riferimento senza una destinazione pubblicata viene mostrato come arco interrotto anziché come link.
Usa
- implementaimplementa
core/period-budget:1.0.0
Usato da
Nulla nel catalogo dipende da questa entità.