Help talk:Toolforge/Archives/2023
Appearance
Latest comment: 1 year ago by Triciaburmeister in topic Improvements to the Toolforge docs navigation
![]() |
Please do not post any new comments on this page. This is a discussion archive See current discussion or the archives index. |
Support for ASGI?
Hi, the main example for Toolforge is for using Python/Flask via WSGI with Kubernetes. Is there support for ASGI (Asynchronous Server Gateway Interface) services, such as FastAPI and Uvicorn? I couldn't find any examples of services running with ASGI, so that's why I ask. Thanks. - Fuzheado (talk) 11:12, 24 November 2021 (UTC)
- The current python specific tooling in the Toolforge Kubernetes cluster (and grid engine actually) is focused on hosting WSGI services as you note. This is the first time I have personally heard someone asking about the competing ASGI standard. It would be currently possible to deploy an ASGI service on the Kubernetes cluster via a manually created Deployment. -- BryanDavis (talk) 18:17, 24 November 2021 (UTC)
- Thanks BryanDavis. I created a Phabricator task here in case it's something we can discuss and see if there is long term support for. task T296729 - Fuzheado (talk) 13:35, 30 November 2021 (UTC)
- We have now beta support for buildpack-based toolforge images, that will allow you to use asgi (or any python webserver of your choosing), you can have a try, you can specify the command to start your webservice (ex. asgi/gunicorn/...) in the procfile https://wikitech.wikimedia.org/wiki/Help:Toolforge/Build_Service#Procfile David Caro (talk) 08:36, 11 July 2023 (UTC)
- Thanks BryanDavis. I created a Phabricator task here in case it's something we can discuss and see if there is long term support for. task T296729 - Fuzheado (talk) 13:35, 30 November 2021 (UTC)
Improvements to the Toolforge docs navigation
Hello, as part of a technical documentation project to improve the overall navigation of Cloud Services docs, I am proposing a new navigation menu for the Toolforge user docs. For additional details, and how to provide your feedback on my proposed revisions, see https://phabricator.wikimedia.org/T341364. Thanks! Triciaburmeister (talk) 20:58, 17 August 2023 (UTC)