Can you bake execution configuration into a single...
# ask-community
c
Can you bake execution configuration into a single asset? I have one that needs a little extra memory when it runs, but I'd like to keep it as part of the same job and schedule as the rest of its asset group. I can add this on the launchpad, but can I add it to the codebase somewhere?
Copy code
execution:
  config:
    resources:
      limits:
        memory: 1.0Gi
d
Hey Charlie - is this using the k8s_job_executor?
c
yeah
d
the part where it says "you can also use the
dagster-k8s/config
tag on a Dagster op to control the Kubernetes configuration for that specific op"
c
oh nice, so you just feed that to
op_tags
in the
@asset
decorator?
d
that's right
c
perfect!
so this definitely seems to work. should the tag be visible in the run though?
d
it shouldn't because its a property of the individual step
We should probably show it on the description for the asset itself, but i don't think we do currently
c
got it, makes sense