Greg
12/04/2023, 9:01 PMMarvin
12/04/2023, 9:01 PMprefect config set PREFECT_API_DATABASE_CONNECTION_URL="<postgresql+asyncpg://postgres:yourTopSecretPassword@localhost:5432/prefect>"
This assumes that you have a username called postgres, your password is set to yourTopSecretPassword, your database runs on the same host as the Prefect server instance (localhost), you use the default PostgreSQL port 5432, and your PostgreSQL instance has a database called prefect.
2. Kubernetes objects are defined in YAML, so you can create your deployments with YAML. The prefect.yaml file is used by the prefect deploy command to deploy your flows. As a part of that process, it will also build and push your image. Create a new file named prefect.yaml.
3. Each deployment is associated with a single flow, but any given flow can be referenced by multiple deployments. Deployments are uniquely identified by the combination of flow_name/deployment_name.
For more detailed information, you can refer to the Prefect documentation here, here, and here.Greg
12/04/2023, 9:07 PMwork_pool:
job_variables:
env:
SOME_VAR: "someval"
Nate
12/04/2023, 9:24 PMSOME_VAR: "{{ $LOCAL_ENV }}"