Component
core/compute/knative-serving
The Knative Serving control plane, declared as an explicit component so a scale-to-zero realization ships its runtime prerequisite alongside the custom resources it emits. Its controllers reconcile Service, Configuration, Revision and Route into Deployments, hold requests for a revision at zero replicas, and set replica count from observed concurrency. Declaring it in that same Aggregate is what satisfies the prerequisite. Realized on Kubernetes via its Helm Recipe, a minimal bootstrap installing the four control-plane workloads and neither the custom-resource definitions nor the ingress layer. What it publishes across an edge is where Prometheus finds its own metrics, which are off by default. With `values.metrics_enabled` true the Recipe switches them on, and each of the four processes serves them in pods of its own, on a port no Service carries, so the Recipe publishes the pod label selecting all four, the name of their metrics port and the path, for a scraper that discovers those pods directly; false, those keys are empty.
来源
- 内容摘要
- sha256:7cebf451f2fd01bccecb5c83c4ec8a7f9d919f013928459ed34a229bf886af7f
- 发布时间
- 2026-11-10T10:10:13Z
- 签名身份
- 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:a6b83b0e1dbb988835259ae55af82c3a7a93abb719ac8bb76e8dc39b8decbeb1
此版本的引用
oci://hub.aggrega.ai/component/core/compute/knative-serving:1.0.0开发者参数
开发者在 Aggregate 中设置的值。
| 名称 | 类型 | 默认值 | 必需 | 描述 |
|---|---|---|---|---|
| metrics_enabled | boolean | false | 否 | Switches on the control plane's own metrics, in the Prometheus format, and publishes the pod label, the port name and the path a scraper discovers them by; while false those keys are empty. The metrics port checks no caller, so anything that reaches the control plane's pods can read them. |
运维规格
运维人员按环境调整的基础设施规格。
| 名称 | 类型 | 默认值 | 必需 | 描述 |
|---|---|---|---|---|
| namespace | string | knative-serving | 否 | Namespace the control plane is installed into and watches. |
| controller_image | string | gcr.io/knative-releases/knative.dev/serving/cmd/controller@sha256:ca5062ece0329d002a81940cf4268d7898866434d70049bb93f27d3a786d3292 | 否 | Image the controller Deployment runs. The controller reconciles the Serving custom resources into Deployments and serverless services. |
| webhook_image | string | gcr.io/knative-releases/knative.dev/serving/cmd/webhook@sha256:3846e9a416665c5b9ec2e4de246cfcb5c4ab0d01ba19348aa008caf30144b650 | 否 | Image the webhook Deployment runs. The webhook defaults and validates the Serving custom resources as they are admitted. |
| autoscaler_image | string | gcr.io/knative-releases/knative.dev/serving/cmd/autoscaler@sha256:879da127b23db65d862cafa6b23fb987381d0e44150f0027d44e1f5aee83bde2 | 否 | Image the autoscaler Deployment runs. The autoscaler decides each revision's replica count, zero included, from reported concurrency. |
| activator_image | string | gcr.io/knative-releases/knative.dev/serving/cmd/activator@sha256:e5ab46f3b73fa2e3898fe47f6a3a0c2bd765596f4fb36ceb4c28c35d0a74b2e5 | 否 | Image the activator Deployment runs. The activator holds requests addressed to a revision at zero replicas and reports the concurrency the autoscaler scales on. |
| queue_proxy_image | string | gcr.io/knative-releases/knative.dev/serving/cmd/queue@sha256:a3cc71ce80dbc6df8781f15eac2cf3531a4c9815271799afd8776bef9e6aeaf2 | 否 | Image the controller stamps into each revision as its request-queue sidecar. The sidecar meters concurrency for the autoscaler and queues requests beyond the revision's configured limit. |
输出契约
此组件通过 uses 拓扑向使用方发布的值。
| 名称 | 类型 | 默认值 | 必需 | 描述 |
|---|---|---|---|---|
| metrics_pod_selector | string | — | 否 | Kubernetes label selector matching the controller, webhook, autoscaler and activator pods, `app.kubernetes.io/name=knative-serving`, for a scraper that discovers those pods directly rather than scraping one address. Published beside `metrics_pod_port` and `metrics_path` while values.metrics_enabled is true; empty otherwise. |
| metrics_pod_port | string | — | 否 | Name of the container port on those pods that carries the metrics, `metrics`. Set and empty together with `metrics_pod_selector`. |
| metrics_path | string | — | 否 | Path the metrics are served at on that port, `/metrics`. Set and empty together with `metrics_pod_selector`. |
uses 套接字
此组件用于建立连接的依赖套接字。通过某个套接字接入的每个连接,其目标都必须满足该套接字的标签选择器,且每个连接都可以在该套接字声明的槽位中携带附加项。必需槽位须由 Aggregate 或 Release 通过该套接字接入的每个连接来填充。
未声明 uses 套接字。
附加槽位
Feature 附加到此组件时所用的命名绑定点。槽位的选择器限定哪个 Feature 可以填充该槽位,其 inject 列表则指明 Feature 的内容可以如何交付。必需槽位必须在每个实例上完成绑定,可以通过实例上的附加,也可以通过其上层作用域的附加;敏感槽位则声明为用于处理机密内容。Feature 也可以以任何槽位都未声明的名称进行附加。
未声明附加槽位。
自注入允许列表
未声明自注入管道。
关系
与其他已发布实体之间的类型化边。没有已发布目标的引用会呈现为断开的边,而不是链接。
使用
此实体未使用目录中的任何内容。
被使用
使用套接字 «upstream»
使用套接字 «forward_target»
使用套接字 «scrape_target»
使用套接字 «store»
适用于
适用于
适用于
适用于
适用于
适用于
适用于
实现