Recipe
worker-container-apps
The generic background-worker primitive as one Azure Container Apps app running the Release's image, deployed from an Azure Resource Manager template through Microsoft's Azure Verified Modules module avm/res/app/container-app at 0.23.1, MIT, fetched from its git repository at that tag; entity.lock pins the tag's commit and archive digest. Reach for it where the Release deploys an Azure Resource Manager template, and for terraform/worker-container-apps where it deploys Terraform. The app declares no ingress, so nothing reaches it. The environment is the operator's, required under infra.overrides; user-assigned identities and a private registry are optional. Only the app is emitted. The module deploys a telemetry resource by default, reporting to Microsoft; this Recipe turns it off. Each env entry an inject block dictates becomes a container variable, a neighbour's value written whole or inside literal text; concurrency and queue_depth_hint arrive by default as WORKER_CONCURRENCY and WORKER_QUEUE_DEPTH_HINT. A name Container Apps sets itself, a default name while it is one, and file, arg and other entries, halt by name. A value its producer declares sensitive halts the build: keep it in Key Vault and name the secret under infra.overrides.secrets, and the variable reads it through a Key Vault-backed app secret by secretRef, so no secret is written into the template. The app runs exactly infra.replicas replicas at the smallest Consumption size meeting infra.compute.cpu and memory.
Version
Herkunft
- Inhalts-Digest
- sha256:2b40bb1ca05538a6f7a24d00ca187d03169a1005b8490c4111dbcdbd3130860f
- Veröffentlicht
- 2026-11-19T08:04:03Z
- Signaturidentität
- https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
Signatur
- Offiziellapplication/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:5d82135896bab8ebd0e4ba9565a55616d8ae46d62f33548cb5cbafc47984c922
Referenz zu dieser Version
oci://hub.aggrega.ai/recipe/arm/worker-container-apps:1.0.0- Ziel
- —
- Implementiert
- core/compute/worker:1.0.0
Stellt bereit
Deterministische Zeigervorlagen, die dieses Rezept für Konsumenten verdrahtet.
Keine provides-Vorlagen deklariert.
Workload
Keine Workload-Vorlage deklariert.
Lokale Variablen
| Name | Vorlage |
|---|---|
| cpu_millicores | {{- $c := toString (optional (optional .infra "compute" dict) "cpu" "") -}} {{- if regexMatch `^[0-9]+m
|
| memory_mib | {{- $m := toString (optional (optional .infra "compute" dict) "memory" "") -}} {{- if regexMatch `^[0-9]+Mi
|
| size | {{- $found := "" -}} {{- if and .locals.cpu_millicores .locals.memory_mib -}} {{- $mc := atoi .locals.cpu_millicores -}}{{- $mib := atoi .locals.memory_mib -}} {{- range list (list 250 512 "0.25" "0.5Gi") (list 500 1024 "0.5" "1.0Gi") (list 750 1536 "0.75" "1.5Gi") (list 1000 2048 "1.0" "2.0Gi") (list 1250 2560 "1.25" "2.5Gi") (list 1500 3072 "1.5" "3.0Gi") (list 1750 3584 "1.75" "3.5Gi") (list 2000 4096 "2.0" "4.0Gi") (list 2250 4608 "2.25" "4.5Gi") (list 2500 5120 "2.5" "5.0Gi") (list 2750 5632 "2.75" "5.5Gi") (list 3000 6144 "3.0" "6.0Gi") (list 3250 6656 "3.25" "6.5Gi") (list 3500 7168 "3.5" "7.0Gi") (list 3750 7680 "3.75" "7.5Gi") (list 4000 8192 "4.0" "8.0Gi") -}} {{- if and (not $found) (ge (index . 0) $mc) (ge (index . 1) $mib) -}} {{- $found = printf "%s/%s" (index . 2) (index . 3) -}} {{- end -}} {{- end -}} {{- end -}} {{- $found -}} |
| size_cpu | {{ if .locals.size }}{{ index (splitList "/" .locals.size) 0 }}{{ end }} |
| size_memory | {{ if .locals.size }}{{ index (splitList "/" .locals.size) 1 }}{{ end }} |
Wertezuordnung
Keine Wertezuordnung deklariert.
Beziehungen
Typisierte Kanten zu und von anderen veröffentlichten Entitäten. Eine Referenz ohne veröffentlichtes Ziel wird als unterbrochene Kante statt als Link dargestellt.
Verwendet
- implementiertimplementiert
core/compute/worker:1.0.0
Verwendet von
Nichts im Katalog hängt von dieser Entität ab.