Hi, I’m looking for instructions on installing req...
# prefect-cloud
j
Hi, I’m looking for instructions on installing requirements on deployments, but this guide seems to be missing: https://docs.prefect.io/latest/guides/deployment/kubernetes
1
c
is this what you are looking for? https://docs.prefect.io/2.11.4/guides/deployment/helm-worker/ cc @Jeff Hale
j
Thanks. I got a fix in a few days ago. Should be okay after today’s docs build.
j
Thanks for looking into it, @Chris Reuter. I will review what you shared.
prefect rocket 1
@Jeff Hale I am seeing this post you wrote on Medium, and, after following through on it, I’m able to install a single requirement using
{"EXTRA_PIP_PACKAGES":"boto3"}
in the block environment field. However, I’m unable to figure out what’s the syntax for installing multiple requirements. Could you tell me what it is or tell me where I can find it?
j
Hi Jonah. Using a Kubernetes work pool is now the recommended way to interact run flows on Kubernetes. In the work pool settings there is an option to specify other package dependencies. That's one way to do it.
j
Hi @Jeff Hale, I’m not seeing the option to specify other package dependencies. Could you tell me how to navigate to it? Thanks.
j
Similar to shown in the blog post, you can use the
Environment Variables
field to enter additional pip packages
From the blog post:
From the blog post:
Enter the _EXTRA_PIP_PACKAGES_ environment variable pair that we passed to prefect deployment build as an override in our previous example. Note that we could add more packages by separating their names with a space inside the parentheses.
j
Thank you so much. That worked. Not sure how I missed the part about the spaces.
👍 1
🙌 1