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.
Procedencia
- Digest del contenido
- sha256:69f8659b2fd4f3e567ff662ab31bbc9f48a37f6e010602523e17e97316a552b5
- Publicado
- 2026-11-10T10:15:55Z
- Identidad de firma
- https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
Firma
- Oficialapplication/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
Referencia en esta versión
oci://hub.aggrega.ai/featurerecipe/helm/period-budget-traefik-hub:1.0.0- Destino
- —
- Implementa
- core/period-budget:1.0.0
Proporciona
Plantillas de punteros deterministas que esta receta cablea para los consumidores.
No se declararon plantillas provides.
Workload
No se declaró ninguna plantilla de carga de trabajo.
Variables locales
No se declararon variables locales.
Mapeo de valores
No se declaró ningún mapeo de valores.
Relaciones
Aristas tipadas hacia y desde otras entidades publicadas. Una referencia sin un destino publicado se muestra como una arista rota en lugar de como un enlace.
Usa
- implementaimplementa
core/period-budget:1.0.0
Usado por
Nada en el catálogo depende de esta entidad.