Trang này được dịch bằng máy. Đọc bản gốc tiếng Anh.

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.

Nguồn gốc

Chính thứcĐược ký bởi một danh tính ký mà danh mục này công nhận là nhà phát hành chính thức.
Digest nội dung
sha256:5a8aa789808037f16a3486a94959fc684f95d8cc935c76bba919424deca7e138
Đã xuất bản
2026-11-10T10:24:37Z
Danh tính ký
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

Chữ ký

  • Chính thứcapplication/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

Tham chiếu ở phiên bản này

oci://hub.aggrega.ai/recipe/helm/kong-chart:1.0.0
Đích
—
Triển khai
core/gateway/kong:1.0.0

Cung cấp

Các mẫu con trỏ xác định mà công thức này nối cho bên tiêu thụ.

TênMẫu
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

Chưa khai báo mẫu khối lượng công việc nào.

Giá trị cục bộ

TênMẫu
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

Ánh xạ values

Chưa khai báo ánh xạ values nào.

Quan hệ

Các cạnh có kiểu đi tới và đi từ các thực thể đã xuất bản khác. Một tham chiếu không có đích đã xuất bản được hiển thị là một cạnh bị đứt thay vì một liên kết.

Sử dụng

  • triển khaitriển khaihợp đồng tương thích

    core/gateway/kong:1.0.0

    Tất cả đầu ra bắt buộc đều được đáp ứng và mọi đầu ra được cung cấp đều được nêu tên trong hợp đồng.

Được sử dụng bởi

Không có gì trong danh mục phụ thuộc vào thực thể này.

Tài liệu tham khảo khái niệm Recipe →

Danh mục Aggrega — chỉ mục mở gồm các thành phần, tính năng, công thức và các plugin kết xuất chúng.

Được xây dựng bằng hệ thống thiết kế dùng chung của Aggrega.

Quyền riêng tư