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

Recipe

openapi-knative

The OpenAPI-driven tool realized as a Knative Service the Knative Serving control plane reconciles. The recipe emits a single Service custom resource; the control plane turns it into a revision, admits an inbound call while that revision runs no replicas, and sets the replica count from the concurrency it observes, so the tool occupies no compute between the calls that invoke it. The replica floor and ceiling carry through as the revision's own scaling bounds. The location of the OpenAPI document is delivered into the container, so the operations the tool offers are read from the specification the developer named rather than fixed by this recipe. An edge from the tool, on a socket the author names, delivers the names its `inject:` block dictates, as variables or as files from a ConfigMap emitted beside the Service. provides is the addressable name the control plane gives the Service, so a consumer wires to the tool's declared contract rather than to anything Knative-specific. The Knative Serving control plane is a runtime prerequisite: the build halts unless the operator affirms it is installed (infra.control_plane_present), so no custom resource is emitted into a cluster that cannot reconcile it. The component's own `inject:` block delivers its entries as a connection's are, and one reading a value of the tool alone replaces that value's default name.

出處

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

此版本的參照

oci://hub.aggrega.ai/recipe/helm/openapi-knative:1.0.0
目標
—
實作
core/ai-tool/openapi:1.0.0

提供

此配方為使用端連接的確定性指標範本。

名稱範本
host{{ .context.instance_id }}
port80
endpointhttp://{{ .context.instance_id }}
protocolhttp

Workload

未宣告任何工作負載範本。

Locals

未宣告任何 locals。

值對應

未宣告任何值對應。

關係

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

使用

  • 實作實作契約相容

    core/ai-tool/openapi:1.0.0

    所有必要的輸出都已滿足,且每個提供的輸出都在契約中列名。

被使用於

目錄中沒有任何項目相依於此實體。

Recipe 概念參考

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

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

隱私權