Emma Rizzi
01/13/2023, 1:27 PMprefect agent kubernetes start
and i am trying to migrate to prefect agent kubernetes install
to generate a yaml file. I use the --job-template option which is not available with agent *install*, is there a workaround ?Christopher Boyd
01/13/2023, 2:38 PMkubernetes start
and kubernetes install
are two separate commands.
Here is the template that comes by default:
https://github.com/PrefectHQ/prefect/blob/1.x/src/prefect/agent/kubernetes/job_template.yaml
You can pass it in when you start the agent:
https://docs-v1.prefect.io/orchestration/agents/kubernetes.html#custom-job-templateEmma Rizzi
01/13/2023, 3:46 PMkubernetes start
to launch my agent as a kubernetes process, hence why i used kubernetes install
to generate the yaml file but still miss the job template and I can't find how to add it 😕Christopher Boyd
01/13/2023, 3:47 PMEmma Rizzi
01/13/2023, 3:53 PMChristopher Boyd
01/13/2023, 3:53 PMEmma Rizzi
01/13/2023, 3:54 PMChristopher Boyd
01/13/2023, 4:14 PMEmma Rizzi
01/13/2023, 4:17 PMChristopher Boyd
01/13/2023, 4:23 PMprefect kubernetes start --job-template /tmp/custom_job.yaml
Emma Rizzi
02/27/2023, 2:35 PM