I really enjoyed the file-less workflow of uploadi...
# ask-community
j
I really enjoyed the file-less workflow of uploading flows to the Prefect 1.0 server and having them execute in the k8s infrastructure (via the agent, as k8s jobs). It seems it’s not possible anymore with Orion, is it? I don’t fully understand the benefits of the json/yaml files as opposed to the former API. Should I really embrace calling CLI and dealing with files as it is a superior approach? One obstacle in my workflow is I’m doing interactive work in a Jupyter kernel, running in the cluster, so getting a shell at the same host is not straightforward
upvote 4
i.e. the API of specifying
flow.run_config=KubernetesRun(..)
was very neat. I’d expect something like
flow.with_options(infrastructure=MY_K8S_INFRA)
similar to how
.with_options()
lets you specify task runner