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.
来歴
- コンテンツダイジェスト
- sha256:69f8659b2fd4f3e567ff662ab31bbc9f48a37f6e010602523e17e97316a552b5
- 公開日
- 2026-11-10T10:15:55Z
- 署名 ID
- https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
署名
- 公式application/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
このバージョンの参照
oci://hub.aggrega.ai/featurerecipe/helm/period-budget-traefik-hub:1.0.0- ターゲット
- —
- 実装対象
- core/period-budget:1.0.0
提供
このレシピが利用側のために配線する決定論的なポインターテンプレートです。
provides テンプレートは宣言されていません。
Workload
ワークロードテンプレートは宣言されていません。
ローカル変数
ローカル変数は宣言されていません。
値のマッピング
値のマッピングは宣言されていません。
関係
他の公開エンティティとの間の型付きエッジです。公開されたターゲットがない参照は、リンクではなく切れたエッジとして表示されます。
使用先
- 実装実装
core/period-budget:1.0.0
使用元
カタログ内にこのエンティティに依存しているものはありません。