-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
create basic example workflow in kubernetes #1
Comments
Committed a minimal example in sha a9cfb14 that uses rancher desktop on localhost with hard-coded configuration. |
Progress with Docker & KubernetesI was successful running a simple PDG viz workflow in serial using docker on my laptop. This means I was able to:
Now it's time to bring kubernetes and parsl into the mix. Matt created an example repo that uses kubernetes and parsl here. This repo does not contain a script that runs the viz-workflow, but rather a simple python script just to practice running code with the kubernetes cluster with parsl, accessed through the Datateam server. The following steps document basics for how to use the kubernetes cluster in this context. These will be moved into a formal documentation file in this repository when I make them more comprehensive and generalized.
|
Progress with Kubernetes and parslI was successful in running the python script in Matt's repo, using a modified local version of the |
Great catch, @julietcohen . By the way, one other thing we could have done to fix this is to rebuild the image to use the newer version of parsl (which is probably a good thing). But the important part is that they match, so I agree we should specify the exact version in the requirements file. |
Progress with Kubernetes and parsl on Datateam
|
Updates
error
Next step: determine why there is a dependency error in the docker image but not the simple workflow outside of the docker image, probably has something to do with the base image needing another install that is not needed in my independent python env |
Using base image |
Moving on to the docker & kubernetes & parsl workflow, using a docker image published to the repo (with error
|
One thought? Are you using identical versions of python on datateam and in your image? i.e., they are both anaconda with the python release and the same environment? I've mentioned to you before that I've struggled with Anaconda in the past so I tend to avoid it in favor of the Ubuntu-shipped python. YMMV. But they do need to match. |
I am using the same version of python for the terminal environment and in the container. I'm using a conda environment in the terminal built with The error pasted above that seemed to be related to package versions has been resolved. This issue has been broken into sub tasks that are documented as separate issues. The most important to solve first is #36. Other subtasks are #33 and #30. |
Note that @shishichen from Google has successfully run the PDG workflow with Google Kubernetes Engine and parsl. 🎉 More documentation to come, and hopefully this will be scaled up in the coming weeks to run full datasets. See Shishi's fork of the viz-workflow repo here. Additionally, the QGreenland development team, including @rushirajnenuji and @mfisher87, has been working running the viz workflow with parsl kubernetes and Argo. See this repo for argo exploration and this repo for parsl exploration. |
Create an example workflow that executes a parsl job on a kubernetes cluster.
The text was updated successfully, but these errors were encountered: