Skip to content

docs: fix the onboarding tutorials after a walk - #226

Merged
uniqueg merged 2 commits into
mainfrom
docs/113-tutorial-walk
Nov 25, 2026
Merged

uniqueg merged 2 commits into
mainfrom
docs/113-tutorial-walk

Conversation

@uniqueg

@uniqueg uniqueg commented Nov 25, 2026 •

Copy link
Copy Markdown
Member

Summary

A reader who didn't write them (a fresh agent, as decided for this issue) walked both onboarding tutorials step by step, on a local kind cluster, and fixed what got in the way.

Node tutorial

  • Moved to the current releases: TESK chart 0.4.0 (tesk-api 2.0.0, TES 1.1), which the Finnish Node already runs, and Pubgrade-Sidecar 0.3.0. Links now point to the docs of those versions. TESK's Read the Docs site has no versioned builds (/en/v0.3.0/ and /en/stable/ return 404), and latest follows dev: for example, it documents auth.tokenClients for tesk-api 2.1.0, in a different format than 0.4.0.
  • The service info example now sets createdAt and storage. Without them, the chart's defaults end up in the Node's service info: a date of 2021 and EMBL-EBI's FTP server, seen in kind.
  • "Keep ingress.enabled: false" doesn't keep TESK private on OpenShift, because there it creates a Route. Fixed. Also added links to the settings for OpenShift and for clusters that reject RuntimeDefault (e.g., CSC Rahti).
  • Step 4 mentions TESK's smoke test script. Step 7 mentions auth.tokenClients, so TESK accepts the gateway's tokens.
  • The sidecar's values go in a file of their own (sidecar-values.yaml), because its values file had the same name as TESK's my-values.yaml. The comment on the Route variant now says it fails off OpenShift. Added seccompProfile: null, refuseDowngrades and allowedTags.
  • Port-forward checks: added a note for when local port 8080 is taken (this happened during the walk, and curl silently reached another service).
  • The "not yet tested" note now says what the walk covered.

Data-centre tutorial

  • On OpenShift, the tutorial said to put the write restriction in trs_filer.route.annotations. The OpenShift router can only allow clients, for all methods, so that would make the service info private and break the registry import of step 4. It now says to restrict writes at a proxy in front of the router (prerequisites, "Restrict writes" and "Expose the API").
  • The deploy.yaml edits of the service info overlay are now inline. Before, the reader had to switch to another page for them. Added a restart after changing the overlay (subPath mounts aren't updated).
  • Named the ClusterIssuer, added the port-forward note, and updated the "not yet tested" note.

The edits avoid the parts that open PRs change (#211, #199, #197). git merge-tree against their branches merges cleanly.

Closes #113

How it was verified

Walk on kind v0.33.0 (Kubernetes 1.37), with KUBECONFIG inside the clone. No live cluster, no secrets. Public GETs only.

  • TESK 0.3.0 and 0.4.0: gh release download, gh attestation verify and cosign verify-blob all passed, as on the page. helm lint and helm upgrade --install with the page's values (including the auth of step 3) worked. GET /service-info shows the values. POST/GET /tasks without a token and with an invalid one: 401.

  • Step 4 with authentication off: the page's hello.json ran to COMPLETE, and stdout was TESK says: Hello World (TESK 0.4.0).

  • Pubgrade-Sidecar 0.2.0 and 0.3.0: installed with the Ingress variant, pod Running. The Route variant fails on plain Kubernetes, as now documented. seccompProfile: null removes the profile (TESK and sidecar, helm template).

  • TRS-Filer 0.5.0: namespace and secret created, chart downloaded and verified, overlay applied. helm upgrade --install worked. GET /service-info via port forward shows the overlay (org.example.trs, prod, trs 2.0.1). The Ingress rendered with the cert-manager annotation.

  • Registry: org.ga4gh/tes/1.1.0 is a registered type (public GET of /ga4gh/registry/v1/services/types), so TESK 0.4.0's service info is accepted.

  • All 61 external links of both pages answer 200, with their anchors.

  • mkdocs build --strict, scripts/check_names.py and pytest (356 passed, 100% coverage) all pass.

  • CI on the PR: CI passed (Docs, Test, PR title) and the Read the Docs preview build passed.

Light lane: docs-only (two tutorial pages). I reviewed the diff myself, without the reviewer subagents.

Not verified (needs a real cluster, LS Login, the registry or partners):

  • Tokens of LS Login at tesk-api, the ECP_CLN:EOC-Compute claim, and the 403 for non-members (steps 3 and 4).
  • Registry import, sync and admin verification (steps 5 and 6, and steps 4 and 5 of the data-centre tutorial).
  • Forwarding through proTES (step 7). Subscription at the central Pubgrade (step 8).
  • The write restriction at a real Ingress controller, and the 403 check (kind has no controller, and ingress-nginx is retired). TLS and DNS.
  • OpenShift Routes, Poiesis, Funnel, and the storage step (MinIO/vsftpd).

Declined review findings

None (light lane).

Open questions

None.

🤖 Generated with Claude Code

https://claude.ai/code/session_011FSoqN5w1v5t1QRTKU7ad5

uniqueg and others added 2 commits November 25, 2026 17:06
A reader who didn't write the tutorial ran it on a kind cluster
(docs#113). Move it to TESK 0.4.0 (tesk-api 2.0.0) and
Pubgrade-Sidecar 0.3.0, the current releases, and pin their links to
those versions, as the TESK docs on Read the Docs follow the dev branch.
Set createdAt and storage in the service info example, whose chart
defaults otherwise leak into the Node's service info; say that
ingress.enabled: false creates a public Route on OpenShift; link the
settings for OpenShift and Rahti-like clusters, TESK's smoke test and
auth.tokenClients for the gateway; keep the sidecar's values in a file
of their own; and warn of a taken local port in the port forward.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_011FSoqN5w1v5t1QRTKU7ad5
A reader who didn't write the tutorial ran step 3 on a kind cluster
(docs#113). The OpenShift router can only allow clients, for all
methods, so an allow list on the Route would make the service info
private and break the registry import: restrict writes at a proxy in
front of the router instead. Inline the deploy.yaml edits of the
service info overlay, say to restart the app after changing it, name
the ClusterIssuer, and warn of a taken local port in the port forward.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_011FSoqN5w1v5t1QRTKU7ad5
@sourcery-ai

sourcery-ai Bot commented Nov 25, 2026

Copy link
Copy Markdown
Contributor

Reviewer's Guide

Documentation

Update the Node onboarding tutorial for current TESK and sidecar releases, clarify authentication and OpenShift security behavior, and add the settings and checks found during the walkthrough.

  • docs/operators/node-onboarding-tutorial.md L131-140, L481-490, L552-569 (+16 small edits)

Correct the data-centre tutorial's OpenShift write-restriction guidance and include the overlay deployment details and walkthrough fixes.

  • docs/operators/data-centre-onboarding-tutorial.md L181-206, L218-224, L295-301 (+4 small edits)

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@read-the-docs-community

Copy link
Copy Markdown

@uniqueg
uniqueg marked this pull request as ready for review November 25, 2026 16:12
@uniqueg
uniqueg merged commit 9905ea0 into main Nov 25, 2026
13 of 15 checks passed
@uniqueg
uniqueg deleted the docs/113-tutorial-walk branch November 25, 2026 16:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs: add onboarding tutorials for compute and data centres

1 participant