# data-tricks-and-tips

Nikita Kodenko

08/04/2022, 6:19 AM
Hi, I am experimenting with Prefect 1.2.+ in k8s cluster and I wonder how to pull the data from other places in this scenario: 1. Prefect server inside k8s cluster 2. Flows are started via KubernetesRun in gitlab storage Before flow started, I need to execute several shell commands, which will pull data from several sources. What's the best way to do it? I guess it is possible to define Task which executes shell commands and make it first task in the flow, but are there any other options? For example, modifying job template for KubernetesRun?
👍 1