-
-
Notifications
You must be signed in to change notification settings - Fork 42
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
Kubernetes Helm Testing #317
Comments
It’s so great that you are doing this! There isn’t a chart and it would be great to have one. The images folder is kept for backwards compatibility, and I believe might still be used if you upload a container directly in the interface (do you have it running and could test?) And I also don’t see why the redis worker could be configured to be external. Really looking forward to checking this out! |
Most excellent! Thank you for such a quick response. Indeed I am running on local K8s infra and will definitely check the interactive upload. |
Tested with persistent storage and GitHub auth. Singularity shub pull seems fine, however the push is giving a bit of trouble: singularity doesn't like the tokenfile (signed token?) and with sregistry push I am getting an exception of "certificate verify failed" (even with SREGISTRY_REGISTRY_NOHTTPS=true). In regards to previous comments:
|
Ah, I bet I know the issue! For the library endpoint you actually can't use http - so the way that I test locally is by compiling singularity with remote.go set to http. Just change this line from https to http, and then build. The instructions are in the docs here. The disable_building repeat is an error! I have a PR open now and I'll remove the extra one. |
Any updates on working on a chart? |
I am indeed testing the chart on our infra. Will have results in a bit. |
Any update with the chart? I would like to use this as well. |
I forked it. The image quay.io/vanessa/sregistry_nginx:1.1.34 fails due to Deleted that entirely then new errors in same container. Would be nice if @odatskov would share feedback but seems to be AFK for a long time. |
You don't technically need sregistry_nginx anymore - that was when we had a custom nginx module to do uploads. The current sregistry using the sylabs library API with a minio storage backend. So I'd remove that image and use some standard nginx. |
There is also some "wisdom" on stack overflow if you want to try debugging it (without removing it) https://serverfault.com/questions/786982/nginx-conditional-proxy-invalid-number-of-arguments-in-try-files-directive |
Hmm ok I am using a nginx image with your release The uwsgi container gives me this django error:
I will keep checking the config as this would save us a lot of time. It is a pain to download images from our private docker registry. Edit: I redeployed the pods and now they're up but it seems nginx can't talk to uwgsi:
I have that port defined in the helm values:
|
So |
That is rate limiting enforced by the server -> https://singularityhub.github.io/sregistry/2019/rate-limits/ should be in config.py in settings. You likely would want to change or remove it for this use case. We don't have any official K8 deployment, but it would be good if you get something working to write it up, include configs here, and then either note or have an automated way to disable or change the rate limiting. |
Thank you. I wonder if that would cause the permission denied "/" error? I will push my changes to the fork. |
Yes when the rate limit is exceeded it raises a permission denied, 403.
|
Ah, this is an option already with the helm chart created by the author.
Thanks for pointing me in the right direction! |
Definitely! |
Dear Developers,
I am currently testing running a Singularity registry on Kubernetes resources. I have ported the docker compose you have into a basic Helm chart. Three questions I have:
The text was updated successfully, but these errors were encountered: