本页面为机器翻译。阅读英文原文。

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 设计系统构建。

隐私