Feature #23051
closedDocument example service container
Description
I wrote the attached documentation to show other people how to run service containers. Perhaps this, or something like it, would be useful for the general documentation.
I'm not sure exactly where it should go. A new page in the user guide?
I chose nginx because I knew it would work, and let me easily illustrate how service containers can work with other parts of Arvados: this example has nginx serving the content of a collection. But this example maybe isn't the most applicable to the standard bioinformatician. Maybe we should document a Jupyter notebook instead/in addition to this?
Files
Updated by Brett Smith 8 months ago
- File nginx-example.md nginx-example.md added
Updated by Brett Smith 6 months ago
- Target version set to Development 2025-10-15
Updated by Brett Smith 6 months ago
Brett Smith wrote:
Maybe we should document a Jupyter notebook instead/in addition to this?
I spent a couple hours trying to get this to work. It does not because the architecture requires clients to be able to connect to the server via websockets. The way controller proxies the connections interferes with this design. See this SO Q&A (as best I can tell it's still accurate today).
Updated by Brett Smith 6 months ago
23051-service-containers-doc @ 003beaad198e983e82d7d96bdb9bdfd9e6ae574e - developer-run-tests-doc-sdk-java-R: #2252
Note this branch assumes that #22996 is merged, including the reference documentation it adds. If you want to follow along with the CWL example, you'll need to install and run arvados-cwl-runner from that branch.
This branch adds a new page to the user guide that documents the full lifecycle of a service container using nginx as an example. It documents both higher-level and API-based ways to create, connect to, and stop service containers.
- All agreed upon points are implemented / addressed. Describe changes from pre-implementation design.
- Yes
- Anything not implemented (discovered or discussed during work) has a follow-up story.
- N/A
- Code is tested and passing, both automated and manual, what manual testing was done is described.
- Passes full linkcheck per above.
- Tested code incorporates recent main branch changes.
- Yes
- New or changed UI/UX and has gotten feedback from stakeholders.
- N/A
- Documentation has been updated.
- Yes
- Behaves appropriately at the intended scale (describe intended scale).
- N/A for doc branch
- Considered backwards and forwards compatibility issues between client and server.
- N/A for doc branch
- Follows our coding standards and GUI style guidelines.
- N/A for doc branch
Updated by Lisa Knox 6 months ago
A couple of small notes:
service-containers.html:
- L46 might benefit from having wiki links about "basic data and workflow management in Arvados."
- L289 Running containers can also be stopped in the toolbar, which is shown in the same screenshot. I don't know if that extra info is super useful to the user, but it might be worth adding since it's right there.
Updated by Brett Smith 6 months ago
Lisa Knox wrote in #note-8:
A couple of small notes:
Both taken plus a typo fix, now at 572a7244da29ed820cb2315a52706093632f2ba1 - developer-run-tests-doc-sdk-java-R: #2253
Updated by Brett Smith 6 months ago
- Status changed from New to Resolved
Applied in changeset arvados|e8a8ad7faa1ea4c310548f07cea8196a48b73ccc.