Project

General

Profile

Actions

Feature #23051

closed

Document example service container

Added by Brett Smith 8 months ago. Updated 6 months ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
Documentation
Target version:
Story points:
-
Release relationship:
Auto

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

nginx-example.md (2.74 KB) nginx-example.md Brett Smith, 07/16/2025 03:33 PM

Subtasks 1 (0 open1 closed)

Task #23186: Review 23051-service-containers-docResolvedBrett Smith10/09/2025Actions
Actions #2

Updated by Brett Smith 7 months ago

  • Release set to 79
Actions #3

Updated by Brett Smith 6 months ago

  • Target version set to Development 2025-10-15
Actions #4

Updated by Brett Smith 6 months ago

  • Assigned To set to Brett Smith
Actions #5

Updated by Brett Smith 6 months ago

  • Subtask #23186 added
Actions #6

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).

Actions #7

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
Actions #8

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.
Actions #9

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

Actions #10

Updated by Lisa Knox 6 months ago

lgtm

Actions #11

Updated by Brett Smith 6 months ago

  • Status changed from New to Resolved
Actions

Also available in: Atom PDF