average-winter-43654
10/28/2024, 2:11 PMaverage-finland-92144
10/28/2024, 11:15 PMaverage-finland-92144
10/28/2024, 11:17 PMaverage-winter-43654
10/29/2024, 10:24 AMflytekit
client to build the docker images defined in the ImageSpec in the local environment where the flyte client is executed. And this local environment requires docker daemon.
In our scenario, we would like to do an integration between flyte and our application. Our application is running on a k8s cluster, and we want our users to upload the python files that contain flyte imagespec, tasks, and workflows to our application, and we use a k8s job to call flyte client to build docker images and create flyte workflow. K8s cluster normally does not have docker daemon installed, so it does not fulfill the requirement for running flytectl
or pyflyte
.
So do you have any recommendation on this kind of integration? Is the envd
plugin suitable for my scenario? It seems that buildkit
is included in the sandbox deployment. Is it also included in single-binary or core? If it is included in the cluster version of flyte, we should be able to use envd
to access the buildkit
to build and push images in a k8s job, right? Assume we can deploy flyte and our application in the same k8s cluster.average-winter-43654
10/29/2024, 12:38 PMaverage-finland-92144
10/30/2024, 4:28 PMaverage-winter-43654
10/30/2024, 6:06 PMpyflyte run
command?
pyflyte run --remote --image mindmeld="ghcr.io/flyteorg/flytecookbook:core-latest" --image borebuster="ghcr.io/flyteorg/flytekit:py3.9-latest" multi_images.py multi_images_wf