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.
Provenance
- Empreinte du contenu
- sha256:5a8aa789808037f16a3486a94959fc684f95d8cc935c76bba919424deca7e138
- Publié
- 2026-11-10T10:24:37Z
- Identité de signature
- https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
Signature
- Officielapplication/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
Référence à cette version
oci://hub.aggrega.ai/recipe/helm/kong-chart:1.0.0- Cible
- —
- Implémente
- core/gateway/kong:1.0.0
Fournit
Modèles de pointeurs déterministes que cette recette câble pour les consommateurs.
| Nom | Modèle |
|---|---|
| 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
Aucun modèle de charge de travail déclaré.
Variables locales
| Nom | Modèle |
|---|---|
| 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 |
Correspondance des valeurs
Aucune correspondance des valeurs déclarée.
Relations
Arêtes typées vers et depuis d’autres entités publiées. Une référence sans cible publiée s’affiche comme une arête rompue plutôt que comme un lien.
Utilise
- implémenteimplémentecontrat compatible
core/gateway/kong:1.0.0
Toutes les sorties obligatoires sont satisfaites et chaque sortie fournie est nommée dans le contrat.
Utilisé par
Rien dans le catalogue ne dépend de cette entité.