isabel obregon

07/11/2023, 8:18 PM
Hello! I am working on migrating from Prefect 1 -> 2 with my team (we are small and do not have devops, so we are all product engineers just trying to get up to speed on everything) - we are running into issues setting up Kubernetes Jobs and Agents in Prefect 2.0. In this doc the author mentions running the build yaml command with an infrastructure block named
, but there is little info on how that infra block is setup or configured. Wondering if anyone has any further information on setting up infrastructure blocks specifically for Kubernetes Jobs; we're confused about how to configure a Kubernetes Job with our existing GCP infra and referencing one of our GCP images using GCP secrets (we've already also read this doc and haven't been able to find further info on that). Thanks in advance!