In cloud 2.0 whats the best strategy to install a ...
# prefect-community
r
In cloud 2.0 whats the best strategy to install a k8s flowrunner dependency - do I patch a command in to pip install?
1
a
currently,
KubernetesFlowRunner
is still available within the main package, so no need to install it separately but afaik in the future it will be in a separate package which you would install using:
Copy code
pip install prefect-kubernetes
https://github.com/PrefectHQ/prefect-kubernetes @Zanie - can you confirm whether we plan to separate out KubernetesFlowRunner into the Collection anytime soon?
r
I meant dependencies (requirements) for the flow - e.g clickhouse-driver etc
In v1 there is
EXTRA_PIP_PACKAGES
or are docker images from prefect base the preferred route
👍 1
a
yup, 100% - since Kubernetes runs pods and within pods containers, packaging code dependencies into a Docker image is the most straightforward and recommended way
r
thanks @Anna Geller
👍 1