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

Feature

core/http-route

Publishes a server component on a gateway programmed through the Gateway API. Its FeatureRecipe (component-scope) emits one HTTP route per attached component, naming the gateway the route attaches to as its parent and the Service the component's own Recipe emits as its backend. The developer attaches it in the Aggregate and writes the request path in values, because which requests an application serves is part of what the application is. The operator sizes the same attachment on the Release's entry for the component, writing in infra the hostname, which is the environment's name for the component, and the cluster knobs, which describe the cluster the Release lands in rather than the application: which gateway and listener to attach to, and which Service and port to forward to. Left without a hostname, the route carries none and serves every hostname the gateway's listener accepts, with the path match separating it from the other routes on that listener. The Service defaults to the primary Service a synthesized workload emits, so a Release whose Recipe sources an upstream chart naming its Service otherwise sets service_name to that name. A route names its backend port by number rather than by name, and an attachment cannot read the port the component it is attached to was given, so service_port carries no default and the build halts until the Release supplies it.

出處

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

此版本的參照

oci://hub.aggrega.ai/feature/core/http-route:1.0.0
適用於
component.aggrega.ai/type=server
與其衝突
—

開發者參數

開發者附加此功能時設定的值。

擴充 BaseComponents#/schemas/BaseFeatureParameter

名稱型別預設必填描述
pathstring—否Request path prefix routed to the component.

輸出契約

此功能向使用端發布的值。

未宣告任何輸出值。

註記

未宣告任何註記。

關係

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

使用

被使用於

Feature 概念參考

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

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

隱私權