Trang này được dịch bằng máy. Đọc bản gốc tiếng Anh.

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.

Nguồn gốc

Chính thứcĐược ký bởi một danh tính ký mà danh mục này công nhận là nhà phát hành chính thức.
Digest nội dung
sha256:7cebf451f2fd01bccecb5c83c4ec8a7f9d919f013928459ed34a229bf886af7f
Đã xuất bản
2026-11-10T10:10:13Z
Danh tính ký
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

Chữ ký

  • Chính thứcapplication/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

Tham chiếu ở phiên bản này

oci://hub.aggrega.ai/component/core/compute/knative-serving:1.0.0

Tham số của nhà phát triển

Các giá trị mà nhà phát triển đặt trong Aggregate.

TênKiểuMặc địnhBắt buộcMô tả
metrics_enabledbooleanfalsekhôngSwitches 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.

Định cỡ của người vận hành

Định cỡ hạ tầng mà người vận hành tinh chỉnh theo từng môi trường.

TênKiểuMặc địnhBắt buộcMô tả
namespacestringknative-servingkhôngNamespace the control plane is installed into and watches.
controller_imagestringgcr.io/knative-releases/knative.dev/serving/cmd/controller@sha256:ca5062ece0329d002a81940cf4268d7898866434d70049bb93f27d3a786d3292khôngImage the controller Deployment runs. The controller reconciles the Serving custom resources into Deployments and serverless services.
webhook_imagestringgcr.io/knative-releases/knative.dev/serving/cmd/webhook@sha256:3846e9a416665c5b9ec2e4de246cfcb5c4ab0d01ba19348aa008caf30144b650khôngImage the webhook Deployment runs. The webhook defaults and validates the Serving custom resources as they are admitted.
autoscaler_imagestringgcr.io/knative-releases/knative.dev/serving/cmd/autoscaler@sha256:879da127b23db65d862cafa6b23fb987381d0e44150f0027d44e1f5aee83bde2khôngImage the autoscaler Deployment runs. The autoscaler decides each revision's replica count, zero included, from reported concurrency.
activator_imagestringgcr.io/knative-releases/knative.dev/serving/cmd/activator@sha256:e5ab46f3b73fa2e3898fe47f6a3a0c2bd765596f4fb36ceb4c28c35d0a74b2e5khôngImage 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_imagestringgcr.io/knative-releases/knative.dev/serving/cmd/queue@sha256:a3cc71ce80dbc6df8781f15eac2cf3531a4c9815271799afd8776bef9e6aeaf2khôngImage 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.

Hợp đồng đầu ra

Các giá trị mà thành phần này xuất bản cho bên tiêu thụ qua cấu trúc liên kết uses.

TênKiểuMặc địnhBắt buộcMô tả
metrics_pod_selectorstring—khôngKubernetes 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_portstring—khôngName of the container port on those pods that carries the metrics, `metrics`. Set and empty together with `metrics_pod_selector`.
metrics_pathstring—khôngPath the metrics are served at on that port, `/metrics`. Set and empty together with `metrics_pod_selector`.

Các socket uses

Các socket phụ thuộc mà thành phần này kết nối qua. Đích của mọi kết nối được nối qua một socket phải thỏa mãn bộ chọn nhãn của socket đó, và mỗi kết nối có thể mang theo phần đính kèm trong các slot mà socket khai báo. Một slot bắt buộc phải được đáp ứng bởi mỗi kết nối mà Aggregate hoặc Release nối qua socket.

Chưa khai báo socket uses nào.

Slot đính kèm

Các điểm liên kết có tên mà tại đó một Feature được gắn vào thành phần này. Bộ chọn của một slot giới hạn Feature nào có thể lấp đầy nó, và danh sách tiêm của slot nêu cách nội dung của Feature có thể được chuyển giao. Một slot bắt buộc phải được liên kết trên mọi thể hiện, bằng một phần đính kèm trên thể hiện đó hoặc ở một phạm vi phía trên nó, và một slot nhạy cảm được khai báo để xử lý nội dung bí mật. Một Feature cũng có thể được gắn dưới một tên mà không slot nào khai báo.

Chưa khai báo slot đính kèm nào.

Danh sách cho phép tự tiêm

Chưa khai báo đường ống tự tiêm nào.

Quan hệ

Các cạnh có kiểu đi tới và đi từ các thực thể đã xuất bản khác. Một tham chiếu không có đích đã xuất bản được hiển thị là một cạnh bị đứt thay vì một liên kết.

Sử dụng

Thực thể này không sử dụng gì trong danh mục.

Được sử dụng bởi

Tài liệu tham khảo khái niệm Component →

Danh mục Aggrega — chỉ mục mở gồm các thành phần, tính năng, công thức và các plugin kết xuất chúng.

Được xây dựng bằng hệ thống thiết kế dùng chung của Aggrega.

Quyền riêng tư