https://garden.io logo
#💻|dev
Title
# 💻|dev
m

mammoth-flag-56137

03/30/2023, 2:07 AM
so does that mean for 0.13 i can now run my tasks with different resource requests/limits than the running service?
c

calm-family-29323

03/30/2023, 8:05 AM
Yes! Or you can utilize the new -exec type, which will run the task (now just called run) in your already running service. https://github.com/garden-io/garden/blob/0.13/docs/reference/action-types/Run/kubernetes-pod.md edit: fix mistake
m

mammoth-flag-56137

03/30/2023, 8:06 AM
thats horrible
do you mean the -exec type?
the -pod type appears to make its own pod?
c

calm-family-29323

03/30/2023, 8:17 AM
On 0.12 version of garden tasks and tests created a new pod. With 0.13 that feature still remains but additionally you can run tests and tasks in the already deployed service. I messed up in the last message, the -exec type is the one that runs in the existing pod.
a

alert-helicopter-61082

03/30/2023, 9:26 AM
what's horrible? 🙃
m

mammoth-flag-56137

03/30/2023, 9:26 AM
running commands in existing pods 😛
a

alert-helicopter-61082

03/30/2023, 9:27 AM
Ah right. Well, depends on the use case. That's more intended for inner-loop dev, not so much for authoritative testing etc.
Can also be handy as part of some init flows, but should be used with care of course, so as not to create non-determinism in pipelines etc.