Michael Law
06/10/2021, 8:55 PMKevin Kho
Zanie
prefect agent kubernetes install
will generate YAML to install an agent on your cluster
• If you want to use DockerStorage
, you'll need to store your images somewhere. You may want to use ACR. Generally, we'd recommend not using DockerStorage
because it can be slow to build your flows. It's easier to store the flow on Github
or S3
and configure your execution image using the KubernetesRun
• If using DockerStorage
with a KubernetesRun
, you do not need to set an image on the KubernetesRun
-- it will be inferred as the image built by DockerStorage
• If using another type of storage with a KubernetesRun
, the default image will just be the prefect
image. You can set your own base image if you'd like.
• You do not need to configure a KubernetesRun
to run your flows on Kubernetes. If you're not doing any customizations, you can leave the run config empty and it will be given a UniversalRun
run config. This means that a DockerStorage
flow will just work on your Kubernetes agent in the image it's stored in and a flow with another storage type will just run on the default image as I described above.Michael Law
06/11/2021, 6:46 AMMichael Law
06/11/2021, 6:47 AMciaran
06/11/2021, 9:28 AMpangeo-forge
projectciaran
06/11/2021, 9:29 AMkubectl
to apply the Prefect configMichael Law
06/11/2021, 9:30 AMMichael Law
06/11/2021, 9:30 AMMichael Law
06/11/2021, 9:30 AMciaran
06/11/2021, 9:30 AMprefect_agent_conf.yaml
useful, I found that the prefect command didn't quite create everything so with some help from @Tyler Wanner we managed to get it workingciaran
06/11/2021, 9:31 AMMichael Law
06/11/2021, 9:32 AMciaran
06/11/2021, 9:34 AMMichael Law
06/11/2021, 9:40 AMciaran
06/11/2021, 9:46 AMthese
?Michael Law
06/11/2021, 9:46 AMMichael Law
06/11/2021, 9:47 AMciaran
06/11/2021, 9:47 AMMichael Law
06/11/2021, 9:47 AMMichael Law
06/11/2021, 9:48 AMciaran
06/11/2021, 9:48 AMciaran
06/11/2021, 9:48 AMMichael Law
06/11/2021, 9:51 AMMichael Law
06/11/2021, 9:52 AMMichael Law
06/11/2021, 9:52 AMciaran
06/11/2021, 9:52 AMMichael Law
06/11/2021, 9:53 AMMichael Law
06/11/2021, 9:53 AMciaran
06/11/2021, 9:54 AMMichael Law
06/11/2021, 9:54 AMMichael Law
06/11/2021, 10:02 AMciaran
06/11/2021, 10:13 AMMichael Law
06/11/2021, 10:38 AMciaran
06/11/2021, 10:38 AMMichael Law
06/11/2021, 4:43 PMMichael Law
06/11/2021, 4:46 PMMichael Law
06/11/2021, 4:48 PMZanie
Kevin Kho
Michael Law
06/11/2021, 6:25 PMMichael Law
06/11/2021, 6:26 PMciaran
06/11/2021, 7:08 PM