Esta página foi traduzida automaticamente. Ler o original em inglês.

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.

Proveniência

OficialAssinado por uma identidade de assinatura que este catálogo reconhece como editor oficial.
Digest do conteúdo
sha256:7cebf451f2fd01bccecb5c83c4ec8a7f9d919f013928459ed34a229bf886af7f
Publicado
2026-11-10T10:10:13Z
Identidade de assinatura
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

Assinatura

  • Oficialapplication/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

Referência nesta versão

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

Parâmetros do programador

Valores que o programador define no Aggregate.

NomeTipoPredefiniçãoObrigatórioDescrição
metrics_enabledbooleanfalsenãoSwitches 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.

Dimensionamento do operador

Dimensionamento da infraestrutura que o operador ajusta por ambiente.

NomeTipoPredefiniçãoObrigatórioDescrição
namespacestringknative-servingnãoNamespace the control plane is installed into and watches.
controller_imagestringgcr.io/knative-releases/knative.dev/serving/cmd/controller@sha256:ca5062ece0329d002a81940cf4268d7898866434d70049bb93f27d3a786d3292nãoImage 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:3846e9a416665c5b9ec2e4de246cfcb5c4ab0d01ba19348aa008caf30144b650nãoImage 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:879da127b23db65d862cafa6b23fb987381d0e44150f0027d44e1f5aee83bde2nãoImage 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:e5ab46f3b73fa2e3898fe47f6a3a0c2bd765596f4fb36ceb4c28c35d0a74b2e5nãoImage 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:a3cc71ce80dbc6df8781f15eac2cf3531a4c9815271799afd8776bef9e6aeaf2nãoImage 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.

Contrato de saída

Valores que este componente publica para os consumidores através da topologia uses.

NomeTipoPredefiniçãoObrigatórioDescrição
metrics_pod_selectorstring—nãoKubernetes 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—nãoName of the container port on those pods that carries the metrics, `metrics`. Set and empty together with `metrics_pod_selector`.
metrics_pathstring—nãoPath the metrics are served at on that port, `/metrics`. Set and empty together with `metrics_pod_selector`.

Sockets uses

Os sockets de dependência através dos quais este componente se liga. O destino de cada ligação estabelecida através de um socket tem de satisfazer o respetivo seletor de etiquetas, e cada ligação pode transportar um acoplamento nos slots que o socket declara. Cada ligação que o Aggregate ou a Release estabelece através do socket tem de preencher os slots obrigatórios.

Nenhum socket uses declarado.

Slots de acoplamento

Pontos de vinculação com nome nos quais uma Feature se acopla a este componente. O seletor de um slot restringe qual a Feature que o pode preencher, e a respetiva lista inject indica como o material da Feature pode ser entregue. Um slot obrigatório tem de estar vinculado em cada instância, por um acoplamento na instância ou num âmbito acima dela, e um slot sensível é declarado para tratar material secreto. Uma Feature também se pode acoplar com um nome que nenhum slot declara.

Nenhum slot de acoplamento declarado.

Lista de autorizações de autoinjeção

Nenhum canal de autoinjeção declarado.

Relações

Arestas tipadas de e para outras entidades publicadas. Uma referência sem destino publicado é apresentada como uma aresta quebrada em vez de uma ligação.

Usa

Esta entidade não usa nada do catálogo.

Usado por

Referência do conceito Component →

O catálogo Aggrega — um índice aberto de componentes, funcionalidades, receitas e dos plugins que os renderizam.

Criado com o sistema de design partilhado do Aggrega.

Privacidade