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.
Proveniência
- Digest do conteúdo
- sha256:69f8659b2fd4f3e567ff662ab31bbc9f48a37f6e010602523e17e97316a552b5
- Publicado
- 2026-11-10T10:15:55Z
- Identidade de assinatura
- https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
Assinatura
- 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
Referência nesta versão
oci://hub.aggrega.ai/featurerecipe/helm/period-budget-traefik-hub:1.0.0- Destino
- —
- Implementa
- core/period-budget:1.0.0
Fornece
Modelos de ponteiros determinísticos que esta receita liga para os consumidores.
Nenhum modelo provides declarado.
Workload
Nenhum modelo de carga de trabalho declarado.
Variáveis locais
Nenhuma variável local declarada.
Mapeamento de valores
Nenhum mapeamento de valores declarado.
Relações
Arestas tipadas de e para outras entidades publicadas. Uma referência sem destino publicado é apresentada como uma aresta quebrada em vez de uma ligação.
Usa
- implementaimplementa
core/period-budget:1.0.0
Usado por
Nada no catálogo depende desta entidade.