gpt4 book ai didi

Running a one time job on Azure Container Apps(在Azure容器应用程序上运行一次性作业)

转载 作者:bug小助手 更新时间:2023-10-22 15:10:26 26 4
gpt4 key购买 nike



I'm trying to figure out what the easiest way of running a "one time job" on Azure Container Apps is.

我正试图弄清楚在Azure容器应用程序上运行“一次性作业”的最简单方法是什么。


I know that it can be done with Azure Container Instances or Azure Kubernetes Service, but is there something similar for ACA?

我知道它可以用Azure容器实例或Azure Kubernetes服务来完成,但ACA有类似的东西吗?


Ideally, I'm looking for some kind of cli command like az containerapps run --image <some-image> that can run in an environment and is cleaned up when it has finished running.

理想情况下,我正在寻找某种cli命令,如az containerapps run--image<some image>,它可以在环境中运行,并在运行完成后进行清理。


Is that possible?

这可能吗?


更多回答

There are some options to run some background task as describe here: learn.microsoft.com/en-us/azure/container-apps/…

有一些选项可以运行一些后台任务,如下所述:learn.microsoft.com/en-us/azure/container-apps/…

Thanks @Thomas, but that's not really what I was looking for. I got an answer from the ACA team. They are working on "jobs" which will solve this. github.com/microsoft/azure-container-apps/issues/446

谢谢@Thomas,但这不是我真正想要的。我得到了ACA团队的答复。他们正在从事“工作”,这将解决这个问题。github.com/microsoft/azure-container-apps/sissues/446

优秀答案推荐


You can now run Jobs in Azure Container Apps

您现在可以在Azure容器应用程序中运行作业


You have different type of triggers available:

您有不同类型的触发器可用:



  • Manual jobs triggered on-demand using cli, ARM/Bicep or from the portal

  • Scheduled jobs triggered based on a CRON expression.

  • Event-driven jobs triggered using KEDA scalers.


更多回答

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com