Hi, I'm back at <https://prefect-community.slack.c...
# ask-community
h
Hi, I'm back at https://prefect-community.slack.com/archives/CL09KU1K7/p1615401726121200?thread_ts=1615327031.065400&amp;cid=CL09KU1K7 trying to make it work; has job templating (being able to add a single annotation) started working?
Is there a way to supply a job template that works now?
k
Hey @haf, I will look into this when I get the chance and probably respond to you on the Github issue.
🙌 1
h
Thanks @Kevin Kho
t
Hi @haf. I've provided an update in your bug ticket. Please look into it and let me know if I'm understanding properly
👍 1
h
@Tyler Wanner That is good progress towards a repro. I have this issue as we speak but I’m doing some exercise before I get back tonight.
I’ll improve the issue then with some findings.
Thank you for looking into it.
t
sure thing--i'll actually add the things i used in my attempt at repro--i can tell you that i had multiple issues getting it working, it was not a great experience and I'll definitely be looking to proper it up
h
Yeah I never got it working before. Maybe I will now :)
🚀 1
t
do let me know
also, i noticed you mounted to
/usr/local/lib/python3.8/site-packages/prefect/agent/kubernetes/job_template.yaml
that's the install location for python3.8 but in the prefect image, by default it runs 3.7. if you mount it to
/usr/local/lib/python3.7/site-packages/prefect/agent/kubernetes/job_template.yaml
then you don't have to actually change the args at all (this is equivalent to overwriting the default file which, as you said, works)
h
I solved it (in a rather hacky way!)
t
glad to hear it! responded in the issue because probably you won’t be the only person to try to do something like this, and it’s more searchable there. I’ll try to think on how the experience can be improved but generally your run config is going to be the better place to set those annotations and args