Hi guys, did anyone manage to mount volume (kubernetes) to every prefect deployment that is created by specific workpool?
how can I mount to specific prefect deployment a volume, and to use the content of it for environment variable
b
Bianca Hoch
03/29/2024, 6:25 PM
Hi Ofek! I believe that you should be able to add a volumeMount to your work pool by editing the JSON of the work pool's base job template. This should ensure that the volumeMount is applied to all flow deployments tied to that particular pool. You can add the volume mount by editing the base job template of your work pool in the 'advanced' tab of the work pool's page.
Here's a screenshot of the advanced tab for your reference
Bianca Hoch
03/29/2024, 6:40 PM
I'd also recommend checking out the advanced settings tip in the "create a k8s work pool" guide.
In essence, as you're adding things to the work pool's
job_configuration
, you can include an accompanying variable under the
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.