https://prefect.io logo
Title
h

Hamza Naanani

09/27/2022, 1:47 PM
Hello, How can we use the
override
parameter in
prefect deployment build
to change kubernetes job parameters ?
1
b

Bianca Hoch

09/27/2022, 2:22 PM
Hello Hamza, it would look something like this:
prefect deployment build ./my-cool-function.py:validation_flow -n test-deploy -t kubernetes -ib kubernetes-job --override image=<your-image> --override namespace=<your-namespace>
:upvote: 2
1
You can also follow the steps in this article to customize a base Kubernetes job template
h

Hamza Naanani

09/28/2022, 1:13 PM
Thanks ^^
1