本頁面由機器翻譯。閱讀英文原文。

Recipe

task

The generic ephemeral compute primitive on Kubernetes via the helm provider's Workload synthesis, in a run-to-completion shape decided by two things the Aggregate's author writes and by nothing else: the task's `schedule` value and a core/manual-trigger attachment on it. No operator value and no Manifest entry reaches that choice. With a schedule, the task is a CronJob running on it, attached or not. With none, it is a Job that runs once at deploy, unless core/manual-trigger is attached: then it is a suspended CronJob on the fixed schedule 0 0 30 2 *, a date no month holds, so no run starts at deploy, nor if someone resumes it. Start a run of either CronJob with kubectl create job <run-name> --from=cronjob/<cronjob>, the CronJob named as the component is rendered. No Service and no port are emitted: nothing connects to a run that ends. The developer's `timeout` value reaches the container as TASK_TIMEOUT by default for the application's own code to honour, as no deadline is set on the run. An edge's inject block dictates what reaches the container, in every shape: each env entry a variable under that name, beside TASK_TIMEOUT, 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 the same way, and one reading timeout alone replaces TASK_TIMEOUT, 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.

版本

1.0.01.0.1

出處

官方由本目錄認可為官方發布者的簽署身分所簽署。
內容摘要
sha256:837f20f20b56baac9c782f2e918ac192ed0fe8b1d140cfa416ff32a9bb5c7c72
發布時間
2026-11-15T08:09:48Z
簽署身分
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:24366bab1b8b83eaa19ecfdd1a46a4990ba665e1e6776998e59918fecac50683

此版本的參照

oci://hub.aggrega.ai/recipe/helm/task:1.0.1
目標
—
實作
core/compute/task:1.0.1

提供

此配方為使用端連接的確定性指標範本。

未宣告任何 provides 範本。

Workload

Workload · form: scheduled · containers: main

Locals

未宣告任何 locals。

值對應

未宣告任何值對應。

關係

與其他已發布實體之間具型別的邊。沒有已發布目標的參照,會渲染為中斷的邊,而不是連結。

使用

被使用於

目錄中沒有任何項目相依於此實體。

Recipe 概念參考

Aggrega 目錄:元件、功能、配方,以及負責渲染它們的外掛程式的開放索引。

以共用的 Aggrega 設計系統建置。

隱私權