# prefect-server

Scarlett King

02/24/2022, 1:06 PM
I’m trying to run
prefect agent kubernetes start —job-template job_template-nonprod.yaml
to start the agent. We’re currently setting up our Prefect Server on AKS and deploying via helm chart. Where can I store this file so when the agent script is run, it would pick up the file? Also, we have credentials stored on this file so it will also need to it would also need to be stored somewhere safe as well.

Anna Geller

02/24/2022, 1:17 PM
do you know that you can start an agent directly as part of your helm chart? It sounds a bit more convenient. You can see how to do it


. But to still answer your question, many users store this file in object storage e.g. in S3, or for Azure this would be Azure storage.
Copy code
prefect agent kubernetes start --job-template <s3://bucket/path/to/my_template.yaml>
Reading this, I think it must be either S3 or GCS, Azure storage is not supported

Scarlett King

02/24/2022, 2:47 PM
Yeah, I couldn’t find a way to do this for Azure Storage yet
👍 1