Hi, we are setting up Prefect in Kubernetes using a private docker repo to pull our images. Normally when we roll our services in Kubernetes we can specify imagePullSecrets in the deployment yaml, but we are struggling to know how to let the worker know (or define on the deployment itself) how to use the secrets which we have set up in our cluster, and which we know work for other non-prefect services. Any help would be much appreciated.
b
Bianca Hoch
06/18/2024, 6:58 PM
Hi Dan! You should be able to configure
imagePullSecrets
in the k8s work pool in the UI. It isn't a default setting in the work pool base template, so you'll need to manually surface it by editing the advanced tab (which is next to the base template when you go to edit/create the work pool). In this guide for deploying flows using k8s, go to the "Advanced tab" tip box to see how one goes about modifying the work pool base template.
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.