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.
Pochodzenie
- Skrót zawartości
- sha256:5a8aa789808037f16a3486a94959fc684f95d8cc935c76bba919424deca7e138
- Opublikowano
- 2026-11-10T10:24:37Z
- Tożsamość podpisująca
- https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
Podpis
- Oficjalnyapplication/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
Referencja w tej wersji
oci://hub.aggrega.ai/recipe/helm/kong-chart:1.0.0- Cel
- —
- Implementuje
- core/gateway/kong:1.0.0
Udostępnia
Deterministyczne szablony wskaźników, które ta receptura podłącza dla konsumentów.
| Nazwa | Szablon |
|---|---|
| host | {{ .context.rendered_name }}-proxy |
| port | {{ .infra.proxy_port }} |
| protocol | http |
| 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
Nie zadeklarowano szablonu obciążenia roboczego.
Zmienne lokalne
| Nazwa | Szablon |
|---|---|
| model_routes_delivery | config_map |
| model_routes_file | model-routes.yaml |
| model_routes_config_map_suffix | -model-routes |
| connection_variable_prefix | AI_PROXY_ |
| credential_variable_suffix | _API_KEY |
| header_variable_suffix | _AUTHORIZATION |
| status_port | 8100 |
| status_guard_delivery | config_map |
| status_guard_file | status-guard.conf |
| status_guard_config_map_suffix | -status-guard |
| status_guard_default_namespace | default |
Mapowanie wartości
Nie zadeklarowano mapowania wartości.
Relacje
Typowane krawędzie do innych opublikowanych encji i od nich. Odwołanie bez opublikowanego celu jest renderowane jako przerwana krawędź, a nie jako łącze.
Używa
- implementujeimplementujekontrakt zgodny
core/gateway/kong:1.0.0
Wszystkie wymagane wyjścia są spełnione, a każde udostępniane wyjście jest wymienione w kontrakcie.
Używane przez
Nic w katalogu nie zależy od tej encji.