-
Notifications
You must be signed in to change notification settings - Fork 56
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
Setting up on Google Cloud #356
Comments
I've not been involved lately in the development, so I might not be of much help, but I'm pretty sure you need to be able to have distributed storage available. At CERN we use Volumes provided by CephFS which support the In any case: happy to see people interested in deploying REANA, we'll try to help as much we can! |
@arokem The DB pod error might be connected to writing to disallowed location indeed... We are using $ git grep reanadb
reana_cluster/configurations/reana-cluster-dev.yaml: db_persistence_path: "/reanadb"
reana_cluster/configurations/reana-cluster-latest.yaml: db_persistence_path: "/reanadb"
reana_cluster/configurations/reana-cluster.yaml: db_persistence_path: "/reanadb" Alternatively, you could also switch to using a DB instance outside of the cluster. P.S. We should perhaps switch |
Indeed REANA needs a shared filesystem at this stage. Support for distributed file systems, say S3, is in the plans later on. We have not tried yet the installation on GCP but it would be definitely interesting to provide runnable configurations out of the box! |
FYI I am currently trying to get this running on GKE (v1.22). Currently trying to get the barebones running (ingess, quota, etc turned off) Some sticking points:
I might have missed options that allow for this in the config. If you're interested in contributions I'd happily contribute some documentation etc if people can help me with PRs as I work out these issues. Some far future things I'm interested in:
|
@elibixby Thanks for reaching out! This issue is quite old, so let me share a short update about REANA-on-GKE status since 2018. About a year or two ago we have tested a small REANA deployment on GKE, targeting mostly single-node deployment. The aim was just to test the general applicability of our Helm charts on various platforms. Everything worked well. This year we are just about to start work on a bigger GKE deployment for ATLAS physics use case (CC @lukasheinrich) which will need many nodes. So your message comes very timely! Here are a few technical notes:
and then disable the "internal"
and introduce corresponding secrets for
This should be enough to make DB-as-external-service usable. We can update our documentation with more detailed recipe if you are interested. (BTW FWIW we have been using both DB-as-external-service and DB-as-internal-pod and the latter technique was working quite well for some of our deployments. But our primary mode of operation is DB-as-external-service as well.)
If you have some GKE documentation recipes and/or code to contribute, we'll be naturally happy to collaborate! |
My ideal solution is an "authless" mode where I can put something like https://github.com/travisghansen/external-auth-server/ in front the API/UI and manage users quota and auth myself A "nice to have" would be to allow mapping forwarded user IDs to namespaces and service accounts, to better isolate workflows from each-other, then use cluster quota |
Hi @elibixby - thanks for your interest. As @tiborsimko said we're in the process of working with some folks in Google to deploy REANA @ GCP and it'd be great to learn more about your usecase Would you be interested to share a short slide-deck or similar in a call? (feel free to reach out at lukas.heinrich at cern dot ch) |
Hey @lukasheinrich Main hiccups besides those above were:
I'd be happy to get on a call and discuss my use cases if you're interested I'll shoot you an email from eli at cradle dot bio |
Hello! We are interested in setting up a Reana cluster on Google Cloud Platform (GCP).
We followed the instructions in the zero-to-jupyterhub documentation (https://zero-to-jupyterhub.readthedocs.io/en/stable/) to set up a Kubernetes cluster, and then followed the instructions here: https://reana-cluster.readthedocs.io/en/latest/gettingstarted.html#deploy-locally, but instead of using minikube, we pointed it to our cluster-in-the-clouds. Pretty quickly, we discovered that we can't write to
/reana
on these cloud machines (see: https://cloud.google.com/container-optimized-os/docs/concepts/security). All the pods come crashing down as soon as they try writing (into) this directory. So, we edited the provided default configuration (https://reana-cluster.readthedocs.io/en/latest/userguide.html#configure-reana-cluster) to point to/etc/reana
, which is writeable. This solved most of the problems. The one remaining issue is that the database pod that is still crashing. The logs in this pod are:Which suggest that maybe it's still trying to write to a disallowed location.
We're not neccessarily expecting you to fix this, if it's not currently on your road-map, but we thought it would be good to raise this, and at least document our experiments for future experimenters seeking guidance.
But of course: your thoughts would be appreciated. Thanks!
The text was updated successfully, but these errors were encountered: