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

Recipe

kong-chart

Kong, a database-backed API gateway, on Kubernetes via the official Kong Helm chart, served from that project's HTTPS chart repository. The gateway's configuration lives in the PostgreSQL backend wired on the `backend` uses-socket, so the chart's bundled database, ingress controller and manager console are switched off. It renders a Deployment, a ServiceAccount, ClusterIP Services for the proxy data plane and the in-cluster Admin API, the chart's Kong custom-resource definitions, and the three schema-migration Jobs the product's maintainers sequence around a release: a bootstrap, an up-migration before an upgrade and a finishing migration after one. Reach for this realization where a chart repository is reachable at build time and the gateway will be upgraded in place; reach for `kong`, the workload-synthesis realization, where the build must complete with nothing fetched. Each model wired to the models socket gets a chat and a completion route through Kong's AI proxy, in a ConfigMap beside the chart that an init container imports into the database, retried on a first install until the bootstrap Job provisions the schema. A connection's credential arrives as an env secretKeyRef the routes name through Kong's environment vault, so no credential value is in the rendered output. With `values.metrics_enabled` true a ClusterIP Service, `<rendered_name>-status`, carries the chart's status port, 8100, and provides.metrics_endpoint publishes /metrics on it; false, neither. That port, open on the pod for the probes, answers only a GET of /status, /status/ready or /metrics from another address: the KongStatusGuard bundle refuses the rest, POST /status/ready among them.

出處

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

此版本的參照

oci://hub.aggrega.ai/recipe/helm/kong-chart:1.0.0
目標
—
實作
core/gateway/kong:1.0.0

提供

此配方為使用端連接的確定性指標範本。

名稱範本
host{{ .context.rendered_name }}-proxy
port{{ .infra.proxy_port }}
protocolhttp
endpoint{{ with optional .values "model" "" }}http://{{ $.context.rendered_name }}-proxy:{{ $.infra.proxy_port }}/{{ . }}/v1{{ end }}
model{{ optional .values "model" "" }}
metrics_endpoint{{ if .values.metrics_enabled }}http://{{ .context.rendered_name }}-status:{{ .locals.status_port }}/metrics{{ end }}

Workload

未宣告任何工作負載範本。

Locals

名稱範本
model_routes_deliveryconfig_map
model_routes_filemodel-routes.yaml
model_routes_config_map_suffix-model-routes
connection_variable_prefixAI_PROXY_
credential_variable_suffix_API_KEY
header_variable_suffix_AUTHORIZATION
status_port8100
status_guard_deliveryconfig_map
status_guard_filestatus-guard.conf
status_guard_config_map_suffix-status-guard
status_guard_default_namespacedefault

值對應

未宣告任何值對應。

關係

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

使用

  • 實作實作契約相容

    core/gateway/kong:1.0.0

    所有必要的輸出都已滿足,且每個提供的輸出都在契約中列名。

被使用於

目錄中沒有任何項目相依於此實體。

Recipe 概念參考

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

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

隱私權