-
Notifications
You must be signed in to change notification settings - Fork 82
Adding the application Flower #32
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
Comments
Hi @adityapgupta, excited to have you working on the project! I currently maintain the aiopslab-applications repository so if you need something added there I can do it, though I think you should be able to make a PR there. Let me know if that isn't the case. As for your networking issue I'm not going to be able to help fix that as you're adding a completely new application, that is your responsibility. From your issue description, it seems like a service discovery issue, so maybe look at your service definitions and network policies to start with. You might also just need to update your calls in your pod code to use the Kubernetes DNS. |
Hi @adityapgupta, thanks for this! Have you taken a look at this - https://github.com/hpn-bristol/kubeFlower? |
Hello @gaganso, I did come across this repo yesterday but our initial attempt to make it work failed. Let me give this one more shot if adding docker compose is going to be tough. |
Hello, I am Aditya Gupta from IISc, working with Prof. Yogesh Simmhan. We wish to add support for a new application called Flower (a framework to perform federated learning) and subsequently introduce some faults for it.
I tried writing a basic implementation for the same and ran into some issues. I had a docker compose file to initialise the containers and then run federated training on them via flower. I tried to convert this to k8s using the kind image provided by you guys. The relevant docker compose and k8s files are in the
flower
folder (this was placed inside the submoduleaiops-applications
, but I could not figure out how to git push there), and the images have been uploaded to my dockerhub. I have also added aflower.py
file insideaiopslab/services/apps
to initialise the k8s pods.The main issue is that my pods get initialised but they are not able to communicate with each other. This is my first time using k8s, so I am unable to debug this on my end (it looks like a port misconfig issue, but I havent been able to solve it). The application works with a
docker compose up
for reference. Kindly go throughflower/kubernetes
to check my k8s yaml files. Once this is fixed, we will proceed to add faults.PS: I am running on WSL2 with Ubuntu 20.04. Testing was done by manually doing
kubectl apply -Rf flower/kubernetes
but theflower.py
file also works. The flower application is run withflwr run aiopslab/orchestrator/problems/flower local-deployment --stream
The relevant code is in PR #31
The text was updated successfully, but these errors were encountered: