이 페이지는 기계 번역되었습니다. 영어 원문 읽기.

Recipe

worker-container-apps

The generic background-worker primitive as one Azure Container Apps app running the Release's image, through a Terraform module kept beside this Recipe. Reach for it in an Azure subscription with a Container Apps environment; for terraform/worker-ecs or cloudformation/worker-ecs in an AWS account, terraform/worker-cloud-run on Google Cloud, and helm/worker on Kubernetes. The app declares no ingress, so nothing reaches it. The environment and resource group are the operator's, each required under infra.overrides; user-assigned identities and a private registry, its password read from Key Vault by reference, are optional. Only the app is emitted — no environment, network, identity, registry, Key Vault or log workspace, each the operator's. 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 neighbour's Terraform reference is evaluated by the engine, and each file entry a secret mounted alone at the path named; concurrency and queue_depth_hint arrive by default as WORKER_CONCURRENCY and WORKER_QUEUE_DEPTH_HINT. No edge may dictate those while they are the defaults, or a name Container Apps sets itself; arg and other entries are refused by name. The app runs exactly infra.replicas replicas at the smallest Consumption size meeting infra.compute.cpu and infra.compute.memory, so the Component's defaults run at 0.25 vCPU and 0.5 GiB. Azure/avm-res-app-containerapp/azurerm is not sourced: at 0.9.0, its newest, it calls Azure/avm-utl-interfaces/azure from the registry, which init fetches outside the pin.

출처

공식이 카탈로그가 공식 게시자로 인정하는 서명 ID로 서명되었습니다.
콘텐츠 다이제스트
sha256:aa1050550bfe3ccfb240c050552841a79ee8502607a624b339b1dd75f430d629
게시일
2026-11-10T10:29:03Z
서명 ID
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:584582355d5f33d536cd7f4ce5969c6cbc0bd4ea9c2518c50af52d0ab0f71552

이 버전의 참조

oci://hub.aggrega.ai/recipe/terraform/worker-container-apps:1.0.0
대상
—
구현 대상
core/compute/worker:1.0.0

제공

이 레시피가 소비자를 위해 배선하는 결정적 포인터 템플릿입니다.

선언된 provides 템플릿이 없습니다.

Workload

선언된 워크로드 템플릿이 없습니다.

로컬 변수

이름템플릿
cpu_millicores{{- $c := toString (optional (optional .infra "compute" dict) "cpu" "") -}} {{- if regexMatch `^[0-9]+m worker-container-apps 1.0.0 · Aggrega 카탈로그 $c -}}{{ atoi (trimSuffix "m" $c) }} {{- else if regexMatch `^[0-9]+(\.[0-9]{1,3})? worker-container-apps 1.0.0 · Aggrega 카탈로그 $c -}} {{- $p := splitList "." $c -}}{{- $f := 0 -}} {{- if eq (len $p) 2 }}{{ $f = atoi (substr 0 3 (printf "%s000" (index $p 1))) }}{{ end -}} {{- add (mul (atoi (index $p 0)) 1000) $f -}} {{- end -}}
memory_mib{{- $m := toString (optional (optional .infra "compute" dict) "memory" "") -}} {{- if regexMatch `^[0-9]+Mi worker-container-apps 1.0.0 · Aggrega 카탈로그 $m -}}{{ atoi (trimSuffix "Mi" $m) }} {{- else if regexMatch `^[0-9]+Gi worker-container-apps 1.0.0 · Aggrega 카탈로그 $m -}}{{ mul (atoi (trimSuffix "Gi" $m)) 1024 }} {{- end -}}
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 }}

값 매핑

선언된 값 매핑이 없습니다.

관계

게시된 다른 엔터티와 주고받는 타입 지정 에지입니다. 게시된 대상이 없는 참조는 링크가 아닌 끊어진 에지로 표시됩니다.

사용함

사용됨

카탈로그에서 이 엔터티에 의존하는 것이 없습니다.

Recipe 개념 레퍼런스 →

Aggrega 카탈로그 — 컴포넌트, 기능, 레시피, 그리고 이를 렌더링하는 플러그인의 공개 인덱스입니다.

공유 Aggrega 디자인 시스템으로 구축되었습니다.

개인정보 보호