Cette page a été traduite automatiquement. Lire l’original en anglais.

Recipe

worker-cloud-run

The generic background-worker primitive as one Cloud Run worker pool running infra.replicas instances of the Release's image, on the catalog's shared Cloud Run body. Reach for it in a Google Cloud project with a VPC network; for terraform/worker-ecs or cloudformation/worker-ecs in an AWS account, and helm/worker on Kubernetes. A worker pool is Cloud Run's resource for continuous background work: it has no endpoint or URL, the container declares no port, and it runs a fixed instance count with no autoscaling. The project, region, VPC network and service account are the operator's, each required under infra.overrides; a subnet and network tags are optional. Beside the worker pool, only a Secret Manager secret and its version for each file the component is handed are emitted — no service account, IAM binding, network, subnet or firewall rule. Each env entry an edge's inject block, or the component's own, dictates becomes a container variable under that name, written whole, so a Terraform reference a neighbour publishes is evaluated by the engine; concurrency and queue_depth_hint arrive by default as WORKER_CONCURRENCY and WORKER_QUEUE_DEPTH_HINT. Each file entry is mounted at its path from a secret volume holding it alone. No edge may dictate those two names while they are the defaults, a name Cloud Run reserves or refuses, or a file path it cannot mount; arg and other entries are refused by name. The container runs at the smallest worker pool size meeting infra.compute, so the Component's defaults run at 1 vCPU and 512 MiB. GoogleCloudPlatform/cloud-run/google is not sourced: at v0.34.2, its newest version, it declares no worker pool; only the hashicorp/google provider's resource does.

Version

1.0.01.1.0

Provenance

OfficielSigné par une identité de signature que ce catalogue reconnaît comme éditeur officiel.
Empreinte du contenu
sha256:19c92740515c05af3031741910d6cbfeba7c90df3fabc304742b5b7fa459d93f
Publié
2026-11-23T02:47:22Z
Identité de signature
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

Signature

  • Officielapplication/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:fea883011066ddb75ed6e397dbdafc5f436f0dae8f6495e57e98d09d3ded792a

Référence à cette version

oci://hub.aggrega.ai/recipe/terraform/worker-cloud-run:1.1.0
Cible
—
Implémente
core/compute/worker:1.0.0

Fournit

Modèles de pointeurs déterministes que cette recette câble pour les consommateurs.

Aucun modèle provides déclaré.

Workload

Aucun modèle de charge de travail déclaré.

Variables locales

NomModèle
value_env{"values.concurrency": "WORKER_CONCURRENCY", "values.queue_depth_hint": "WORKER_QUEUE_DEPTH_HINT"}

Correspondance des valeurs

NomModèle
$importCloudRunArguments#/mappings/WorkerPoolArguments

Relations

Arêtes typées vers et depuis d’autres entités publiées. Une référence sans cible publiée s’affiche comme une arête rompue plutôt que comme un lien.

Utilise

Utilisé par

Rien dans le catalogue ne dépend de cette entité.

Référence du concept Recipe

Le catalogue Aggrega — un index ouvert de composants, de fonctionnalités, de recettes et des plugins qui en assurent le rendu.

Conçu avec le système de design partagé d’Aggrega.

Confidentialité