Recipe
function-keda
The generic event-driven compute primitive realized as a Deployment paired with a KEDA scaling resource the KEDA control plane reconciles. The recipe synthesizes the workload and emits one ScaledObject beside it; the control plane reads the depth of the event source the Release names and sets the replica count from it, zero included, so the function occupies no compute while the source is empty. This is the queue-paced of the primitive's two realizations: work arrives on an event source the Release names, rather than as an inbound call. Where work arrives as an inbound call, the Manifest maps the component to the request-paced realization instead. The two are chosen there and never both at once. No Service definition and no provides contract are emitted, because the component declares none and because the event source invokes the function rather than a caller reaching it. The KEDA control plane is a runtime prerequisite: the build halts unless the operator affirms it is installed (infra.control_plane_present), so no custom resource is emitted into a cluster that cannot reconcile it. An edge's inject block dictates what reaches the container, since the image is the Release's own code: each env entry a variable under that name, beside FUNCTION_RUNTIME, which no edge may dictate while it is the default, and each file entry a read-only file from a ConfigMap. The component's own inject block delivers env entries too, and one reading runtime alone replaces FUNCTION_RUNTIME, its default name. An arg entry, or any other mechanism, is refused by name: the recipe renders no command line. A credential published for the pod to reference, such as core/referenced-secret, halts the build by name.
来源
- 内容摘要
- sha256:bafd58b614894d9db7becf7d268d318f377bedb359dac07bd9e140bbcf25c125
- 发布时间
- 2026-11-10T10:23:51Z
- 签名身份
- 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:6a11a3b68d256d20667bdc9c4dd1ca593db4909048d271d804ed899e8a6868c2
此版本的引用
oci://hub.aggrega.ai/recipe/helm/function-keda:1.0.0- 目标
- —
- 实现
- core/compute/function:1.0.0
提供
此配方为使用方接入的确定性指针模板。
未声明 provides 模板。
Workload
Workload · form: stateless · replicas: {{ · containers: main
局部变量
未声明局部变量。
值映射
未声明值映射。
关系
与其他已发布实体之间的类型化边。没有已发布目标的引用会呈现为断开的边,而不是链接。
使用
- 实现实现
core/compute/function:1.0.0
被使用
目录中没有任何内容依赖此实体。