I have been looking into running flows using a Kub...
# prefect-community
I have been looking into running flows using a KubernetesRun like so:
Copy code
flow.run_config = KubernetesRun(
vs configuring/running a flow this way (using KubernetesJobEnvironment)
Copy code
flow = Flow(
I'm struggling to understand the differences/ tradoffs of configuring a job one way vs another. Both ways you can pass in information that a job spec would need. Then you register the flow and run it and the k8s agent picks it up. Is there any fundamental difference I'm missing?
We're transitioning (slowly) from environment-based configuration to run-config based configuration. Run configs are the new way to do things, environments are the old way.
👀 1
Thanks, I was getting that impression but that clears it up 🙂