https://dagster.io/ logo
#deployment-kubernetes
Title
# deployment-kubernetes
d

Dusty Shapiro

02/02/2023, 1:00 AM
I searched around but couldn’t find an answer, but is the Kubernetes run worker job name customizable? It looks like K8s Job Name is
dagster-run
as a prefix with the Run ID as the suffix. Would be nice to add the job name, a timestamp, etc, if possible. Thanks
r

Remi Gabillet

02/02/2023, 4:36 PM
funny, I was about to ask the same question today
👌 1
seems like only the job's
run_id
is considered when building the job name. see code
j

johann

02/02/2023, 7:54 PM
We do label the Jobs with
dagster/job
, so the info is there but not as available. There is a length limit and some other restrictions on the naming, so it’d be a balance including job name and timestamp and run id etc. Feel free to submit an issue but I think it’s likely not something we’ll be able to immediately prioritize. Run launchers are very pluggable though, so you could always write a custom launcher extending ours
r

Remi Gabillet

02/03/2023, 3:00 PM
thanks @johann the label is super useful. I'm trying to see job names on datadog's built-in K8s Jobs dashboard
according to datadog docs I can get the agent to set the job_name label as a tag, then I can use it in dashboards 😅
j

johann

02/03/2023, 3:31 PM
good to know!