本頁面由機器翻譯。閱讀英文原文。

Component

core/gateway/kong-enterprise

Kong Gateway Enterprise, Kong's paid edition of its database-backed API gateway. Like core/gateway/kong it routes client traffic by configuration held in the PostgreSQL backend wired to its backend socket, and serves each model wired to its models socket at /<alias>/v1 through Kong's AI proxy. The image is supplied by the operator: Kong distributes the enterprise image under its own terms, so the Release names in infra.image one it is entitled to pull, version tag included, and the catalog names none. Nothing renders until the Release sets `infra.image`. The licence reaches the gateway by reference to a Secret bound to the required license slot, never as a value. The compiler validates no licence and contacts no vendor, so a Release that builds cleanly says nothing about one. Kong reads the licence as a node starts, and a node with no valid licence behaves as with an expired one: its entity configuration becomes read-only and proxy traffic is served with the configuration already in place. Kong sells its AI plugins as its AI Gateway Enterprise offering, an entitlement no build can see, so an AI Feature halts the build until infra.ai_gateway_entitled affirms it. Realized on Kubernetes by kong-enterprise-chart, over the official Kong Helm chart; there is no compose realization. With `values.metrics_enabled` true the Recipe puts the gateway's Status API port on a ClusterIP Service of its own and publishes /metrics there as `metrics_endpoint`; false, neither. The port is already open on the pod: from another address it answers a GET of /status, /status/ready or /metrics, with no caller check, and refuses every other request, POST /status/ready and any route the image adds among them.

出處

官方由本目錄認可為官方發布者的簽署身分所簽署。
內容摘要
sha256:dc46a6d0308ddbca412fc5d5d92871c1d32c586360d38bf4a53fdc2b82785603
發布時間
2026-11-10T10:11:55Z
簽署身分
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:b41af5830ae0f6a10e388791d7fd7e8e5cba9a9bea92054d08b5779ca550bdc5

此版本的參照

oci://hub.aggrega.ai/component/core/gateway/kong-enterprise:1.0.0

開發者參數

開發者在 Aggregate 中設定的值。

名稱型別預設必填描述
modelstring—否The alias of a connection on the models socket that this gateway publishes as its model, and whose route its published endpoint addresses. It must be an alias a models connection carries, and the build halts naming this value otherwise; it is required while the models socket holds a connection, and omitted while it holds none.
metrics_enabledbooleanfalse否Makes the gateway's own metrics, in the Prometheus format at /metrics on its Status API port, reachable on a ClusterIP Service and publishes their address as `metrics_endpoint`; while false that key is empty. From another address the port answers a GET of /metrics, /status/ready or /status (memory, connections and database reachability), with no caller check, and refuses every other request, POST /status/ready, which with status=draining would take the gateway out of readiness, and any route the enterprise image adds among them. It is already open on the pod, and naming it on a Service adds no audience.

操作員資源規格

操作員依各環境調整的基礎架構資源規格。

名稱型別預設必填描述
proxy_portinteger (min 1024, max 65535)8000否Proxy data-plane port consumers connect to.
admin_portinteger (min 1024, max 65535)8001否Admin API port, reachable in-cluster only.
imagestring—是Full reference of the Kong Gateway Enterprise image the gateway runs, version tag included, as in kong/kong-gateway:3.16.0.0, optionally followed by a digest — the image the operator is entitled to pull. There is no default, because access to the image is governed by Kong's terms rather than by the catalog, and the catalog therefore names none. The tag must begin with the gateway's version, which the chart reads from it; a build that omits the image, or names one whose tag carries no version, halts.
image_pull_secretstring—否Name of a pre-created image-pull Secret granting access to the registry the image is pulled from. Set this when that registry needs credentials; omit it when the cluster can pull the image without them.
ai_gateway_entitledbooleanfalse否Affirms that the licence the license slot names carries Kong's AI Gateway Enterprise entitlement, under which Kong sells the plugins its AI Features run on. The compiler runs ahead of time and never reads the licence, so it asks rather than checks. With core/semantic-caching, core/period-budget, core/data-masking, core/fallback-chain, core/retry-policy or core/target-selection attached and this left unaffirmed, the build halts, because Kong skips an AI plugin the licence does not entitle silently rather than refusing it.
source_versionstring—否Version of the Helm chart the realization pulls. Changing it away from the Recipe's default does not guarantee value-mapping compatibility with the new chart.
computeobject—否—
overridesobject (open)—否Provider-specific overrides. Accepts any nested structure. Each Recipe documents which keys it reads.

輸出契約

此元件透過 uses 拓撲向使用端發布的值。

名稱型別預設必填描述
hoststring—是In-cluster DNS name of the Service fronting the proxy data plane. A consumer sends its client traffic here rather than to the service behind the gateway.
portinteger—是TCP port that Service accepts proxied traffic on. It carries the proxy port an operator set, never the Admin API port, which stays in-cluster.
protocolstring—否How the published address is spoken to — `http`, so a consumer composes an address on that scheme.
endpointstring—否Full base URL of the OpenAI-compatible API the gateway serves for the model values.model names, with the host, the port and that alias's route already composed. A caller hands it to a client library as its base URL. Every other wired model is served at the same host and port under its own alias in the path. Empty while nothing is wired to the models socket.
modelstring—否The alias a consumer wired to the gateway sends as its model name: values.model. The route behind the endpoint asks for the model it was written for whatever name a request carries. Empty while nothing is wired to the models socket.
metrics_endpointstring—否The full address Prometheus scrapes this component's metrics at — scheme, host, port and path, `http://<host>:<status port>/metrics`, the host being the Service the realization puts the Status API port on. Empty while values.metrics_enabled is false.

Uses 插槽

此元件用來連線的相依插槽。經由插槽連接的每個連線,其目標都必須符合該插槽的標籤選擇器,且每個連線可在該插槽宣告的槽位中帶有附加項目。Aggregate 或 Release 經由該插槽連接的每個連線,都必須提供必填槽位。

backend

選擇器
component.aggrega.ai/type=stateful-server
注入
env

經由此插槽的每個連線可填入的槽位

槽位選擇器必填注入敏感描述
credentialfeature.aggrega.ai/kind=secret否env是Optional password the gateway presents to the backend this connection reaches, shared with that backend. When attached, supplies the backend password via the credential subsystem. Unattached, helm/kong-enterprise-chart presents the development literal `apppass`, which this catalog publishes, so every Release that leaves the slot unattached shares that password.

models

選擇器
component.aggrega.ai/category=ai-model
注入
—

經由此插槽的每個連線可填入的槽位

槽位選擇器必填注入敏感描述
credentialfeature.aggrega.ai/kind=secret否env是Optional credential the gateway presents to the model this connection reaches, as a bearer token. When attached, the Recipe delivers it as AI_PROXY_<ALIAS>_API_KEY, the connection's alias in capitals with every character other than a letter or a digit as an underscore, as a Kubernetes secretKeyRef, and the connection's route reads the token through Kong's environment vault, naming the variable rather than the value. Unattached, the route adds no credential.

pii_sanitizer

選擇器
security.aggrega.ai/text-anonymization=sanitizer
注入
—

此插槽未宣告任何附加槽位,因此經由它的連線不帶任何附加項目。

附加槽位

Feature 附加到此元件的具名繫結點。槽位的選擇器限制哪個 Feature 可以填入該槽位,其注入清單則指明該 Feature 的內容可以如何傳遞。必填槽位必須在每個實例上繫結,方式是在該實例上或其上層範圍中附加項目;敏感槽位則宣告用於處理機密內容。Feature 也可以附加在沒有任何槽位宣告的名稱之下。

槽位選擇器必填注入敏感描述
licensefeature.aggrega.ai/kind=secret是—是The Kong Gateway Enterprise licence, held in a Kubernetes Secret this attachment names: the gateway reads it by reference to that Secret, never as a value written into the Release or the rendered output. Required: the build halts when no attachment binds it.

自我注入允許清單

env

關係

與其他已發布實體之間具型別的邊。沒有已發布目標的參照,會渲染為中斷的邊,而不是連結。

使用

被使用於

Component 概念參考

Aggrega 目錄:元件、功能、配方,以及負責渲染它們的外掛程式的開放索引。

以共用的 Aggrega 設計系統建置。

隱私權