Цю сторінку перекладено машинно. Читати англійський оригінал.

FeatureRecipe

period-budget-kong-enterprise

Realizes core/period-budget on the gateway core/gateway/kong-enterprise; a Release binds it in its Manifest. It emits no file: the gateway's chart Recipe, kong-enterprise-chart, reads the attachment and writes Kong's AI Rate Limiting Advanced into the routes file it imports, one plugin for the whole gateway under scope gateway, or one on each wired model's service under scope model. The gateway counts the tokens each model's reply reports, read, written or both as unit names, in fixed windows of period, each request counted in the one window its time falls in. Once the count reaches limit, the next model request is answered with HTTP 429 until the window ends, so the request that crosses the limit is served. The count is kept in the gateway's PostgreSQL backend, shared by every replica and kept across a restart. Under scope model a request is counted against the alias it named, whichever model answered it. So it honours unit total_tokens, prompt_tokens or completion_tokens, scope gateway or model, and a period of seconds, minutes, hours or days. It refuses usd, scope caller and calendar months by name, and halts on a second such attachment, with nothing wired to the models socket, on a gateway image older than 3.15, and on any component other than core/gateway/kong-enterprise. Kong sells the plugin under its AI Gateway Enterprise entitlement, which no build can verify and without which Kong skips the plugin silently, so the gateway's Recipe halts until infra.ai_gateway_entitled affirms it. No build proves that a running gateway enforces the budget.

Походження

ОфіційнийПідписано ідентичністю підписувача, яку цей каталог визнає офіційним видавцем.
Дайджест вмісту
sha256:87c958823572fa665b1aa8d445507e5fa13dec55126a89e692b849557f72b419
Опубліковано
2026-11-10T10:15:51Z
Ідентичність підписувача
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:0e3d9456797fd78127d6719368bbf3681b28ad0f5ac1311a0b7f7b6615d30af6

Посилання на цю версію

oci://hub.aggrega.ai/featurerecipe/helm/period-budget-kong-enterprise:1.0.0
Ціль
—
Реалізує
core/period-budget:1.0.0

Надає

Детерміновані шаблони вказівників, які цей рецепт під’єднує для споживачів.

Шаблонів provides не оголошено.

Workload

Шаблон робочого навантаження не оголошено.

Локальні значення

Локальних значень не оголошено.

Відображення значень

Відображення значень не оголошено.

Зв’язки

Типізовані ребра до інших опублікованих сутностей і від них. Відсилання без опублікованої цілі відображається як розірване ребро, а не як посилання.

Використовує

Використовується в

Ніщо в каталозі не залежить від цієї сутності.

Довідка про поняття FeatureRecipe →

Каталог Aggrega — відкритий індекс компонентів, функцій, рецептів і плагінів, які їх рендерять.

Створено на основі спільної дизайн-системи Aggrega.

Конфіденційність