is there a way to run a configuration container on...
# 🤖|ask-kapa
@microscopic-river-74022 is there a way to run a configuration container once, with no restarts? with either the container or the kubernetes provider?
Please stand by @stale-nest-1352 as I search the knowledge base. I normally take about 20 seconds or so. :wave:
---------------------- Garden does not provide a direct way to run a configuration container once with no restarts. The notion of "first time" is kind of undefined in Garden. The general practice is to make sure Runs are idempotent and exit early if they shouldn't run again. However, this means the process still needs to be started, which is slower than not doing it at all source (). For Kubernetes deployments, there is a
configuration key that allows you to set the maximum number of local application restarts. By default, it is unlimited source (). However, this is for deployments, not for run actions. For more complex tasks, you might want to look at other Run types like
source (). ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ----------------------
message has been deleted
can I run a kubernetes job from inside garden? using the kubernetes provider?