Skip to content

Tutorial: Onboard a Node

Synopsis

This tutorial takes a Node from nothing to a TES service that is registered in the Cloud Registry, verified by its admins and reachable through the gateway of the ELIXIR On-Cloud. It is for the operators of compute centres; data centres follow Tutorial: Onboard a Data Centre. Onboarding is the short checklist; this page goes through the same steps in detail, with the commands of each product.

The commands and values on this page come from the docs of each product, at the versions in the table below. For anything else, follow the linked product docs: they are the reference, and this page doesn't repeat them.

Product Version Role
TESK (Helm chart) 0.5.0, with tesk-api 2.1.0 (TES 1.1) and tes-authz 0.1.0 TES service for Kubernetes
Poiesis the default branch at commit c506d9d (TES 1.1), which the FI and CZ Nodes run; not the latest release, 0.2.0 (see step 2) TES service for Kubernetes (alternative)
Funnel 0.12.3 TES service for HPC and HTC clusters (can't join yet, see step 2)
Cloud Registry 1.0.0rc2 Registry of the services
proTES 0.8.0 (API keys for Poiesis need 0.8.0), which the ELIXIR On-Cloud's gateway runs since 1 December 2026 (see step 7 and proTES) Gateway in front of the TES services
Pubgrade-Sidecar 0.3.1 Automatic upgrades (optional)

Before you start

A compute Node runs at least one TES or WES service that requires LS Login access tokens (see Who can join). What the admins check before they verify a service is in What the admins check. Write to cloud-service@elixir-europe.org before you start. A reader who didn't write the steps below ran them on a local test cluster: steps 2, 4 (with authentication off) and 8. The steps that need LS Login, the registry or the admins haven't been tested that way yet: please report what doesn't work.

1. Prerequisites

You need:

  • A cluster. For TESK and Poiesis, a Kubernetes or OpenShift cluster and Helm 3. TESK needs access to one namespace only (see Requirements); Poiesis needs Kubernetes 1.29 or later and a PostgreSQL database (see Production checklist). For Funnel, an HPC or HTC cluster, for example, with Slurm (see Funnel).
  • A namespace of its own for the TES service, for example, tesk.
  • Storage. A default storage class (TESK creates a temporary volume claim for each task with inputs or outputs; ReadWriteOnce is enough), and a storage backend for the inputs and outputs of tasks, for example, S3 or FTP (see Deploy storage).
  • Ingress and HTTPS. An Ingress controller (or OpenShift Routes), a host name that points to it, and a TLS certificate, for example, from Let's Encrypt with cert-manager. The Cloud Registry of this deployment accepts https URLs only, and the gateway uses only TES services at public addresses that answer without redirects.
  • LS Login. An LS Login account that is a member of the LS Login group ECP_CLN:EOC-Compute (see step 3 and Apply for compute access). For the tests, use the access tokens that you get from Krini: they carry the group. Your TES service needs no LS Login client of its own. You need one only for a login in TESK's Swagger UI, or to get tokens for tests without Krini; then LS Login must release the group to it (see Groups and facilities and Register your service).

2. Deploy a TES service

Choose the TES service that fits your cluster. For now, a Node joins with TESK or Poiesis: the gateway's contract with the TES services and their access control are settled for these two first. Other TES services, Funnel among them, join later. What each of them supports today:

TESK Poiesis Funnel
Runs on Kubernetes, OpenShift Kubernetes 1.29+ HPC, HTC (for example, Slurm)
Validates LS Login tokens yes (issuer, audience, signature against LS Login's keys) yes (OIDC issuer and audience, user info) yes (OIDC issuer and audience)
Access by membership in ECP_CLN:EOC-Compute by a claim of the user info, checked by a decision service (tes-authz, authz.policy) by a claim of the user info (requiredClaim) no, any valid token (generic-issues#20)
How the gateway calls it with a token of its own LS Login client (auth.issuers[].serviceClients) with an API key (auth.apiKeys) not yet
Service info for the registry set in the chart's values: import set in the chart's values: import fixed by the code in 0.12.3: manual entry (calypr/funnel#1493, fixed by calypr/funnel#1495, not released yet)
Released chart 0.5.0, with tesk-api 2.1.0 and tes-authz 0.1.0 no: the default branch at c506d9d, without a chart or images of its own 0.12.3

For Poiesis, use the default branch at commit c506d9d, as the FI and CZ Nodes do, not the latest release: 0.2.0 checks no groups, has no API keys and can't set its service info, all of which the ELIXIR On-Cloud needs.

The rest of this step deploys TESK, then Poiesis. For Funnel, follow the Slurm guide of version 0.12.3, and the notes on Funnel, and ask the admins first.

Install TESK

The deployment guide of TESK covers the installation; this is the short path. Download chart 0.5.0 from its release, check that TESK's release workflow built and signed it from the release tag (with the GitHub CLI and cosign, see From a release), and unpack it, as some settings are files in the chart directory:

set -e  # stop if a check fails (Bash; in Fish, run the commands one by one)
gh release download v0.5.0 --repo elixir-cloud-aai/TESK --pattern 'tesk-*'
gh attestation verify tesk-0.5.0.tgz --repo elixir-cloud-aai/TESK \
    --signer-workflow elixir-cloud-aai/TESK/.github/workflows/release.yml \
    --source-ref refs/tags/v0.5.0
cosign verify-blob tesk-0.5.0.tgz --bundle tesk-0.5.0.tgz.sigstore.json \
    --certificate-identity https://github.com/elixir-cloud-aai/TESK/.github/workflows/release.yml@refs/tags/v0.5.0 \
    --certificate-oidc-issuer https://token.actions.githubusercontent.com
tar -xzf tesk-0.5.0.tgz  # unpacks the chart into tesk/

Write your settings into my-values.yaml. For an Ingress with a certificate of cert-manager (see Exposing the API):

hostName: tes.example.org
ingress:
  enabled: true
  className: nginx
  path: /
  # The secret that cert-manager creates; empty switches TLS off
  tlsSecretName: tesk-tls
  annotations:
    # The name of your ClusterIssuer
    cert-manager.io/cluster-issuer: letsencrypt-production

On OpenShift, set ingress.enabled: false instead: the chart then creates a Route for hostName. OpenShift, and other clusters that reject pods asking for the RuntimeDefault seccomp profile (for example, CSC Rahti), need a few more values, for example, tesk.podSecurityContext.seccompProfile: null: see OpenShift and other restricted clusters.

Set up the storage backend of your Node as described in Storage backends (for example, storage: s3 and the files in tesk/s3-config/ of the unpacked chart).

Set the service info in my-values.yaml, under serviceInfo, before installing: at least id (unique, in reverse domain notation), name, organization, contactUrl and environment (see Service info). The registry imports these values in step 5, and keeps the entry in sync with them, so get them right first: follow the checklist of Prepare Your Service Info. This deployment accepts only the environments prod and test: the chart's default, dev, is refused. Also set createdAt and storage: otherwise, the chart's defaults describe your service (a date of 2021 and an FTP server of EMBL-EBI).

serviceInfo:
  id: org.example.tes
  name: Example TES
  description: TES of Example for the members of its research groups
  organization:
    name: Example
    url: https://example.org/
  contactUrl: mailto:tes@example.org
  documentationUrl: https://example.org/tes/
  # When your service started, e.g., "2026-11-25"
  createdAt: "2026-11-25"
  environment: prod
  # The storage that tasks can use, e.g., [s3://bucket]; [] for none
  storage: []

Add the auth values of step 3 to my-values.yaml before you install. With the default, auth.mode: noauth, all endpoints are open, so anyone who reaches the Ingress could run tasks on your cluster. If you can't set them yet, don't install until you can: ingress.enabled: false doesn't keep TESK private on OpenShift, where it creates a Route.

Install the chart into a namespace of its own. secrets.yaml holds credentials, for example, of FTP: leave out -f secrets.yaml if you need none.

helm upgrade --install tesk ./tesk \
    --namespace tesk --create-namespace \
    -f my-values.yaml -f secrets.yaml

Check the installation:

helm list -n tesk
kubectl get all -n tesk
kubectl port-forward -n tesk service/tesk-api 8080:8080 &
sleep 2
curl http://localhost:8080/ga4gh/tes/v1/service-info
kill %1  # stop the port forward

The service info should show your values. If local port 8080 is taken, the port forward fails, and curl reaches whatever listens there: use another local port, for example, 18080:8080 and http://localhost:18080.

Then check that the service info is reachable from outside, without a token:

curl https://tes.example.org/ga4gh/tes/v1/service-info

Install Poiesis

Poiesis publishes no Helm chart (JaeAeich/poiesis#53) and no images of commit c506d9d (JaeAeich/poiesis#177). The Poiesis docs cover the installation, for its default branch, which is at that commit as of 28 November 2026; their Production checklist is the list to go through. This is the short path. Check out the commit, whose chart is in deployment/helm/poiesis:

git clone https://github.com/JaeAeich/poiesis.git
git -C poiesis checkout c506d9d04510accfc218056d8185fdd18b046963

Use the images that the FI and CZ Nodes run, built from that commit and pinned by digest, or build your own from it (deployment/images):

  • docker.io/uniqueg/poiesis:c506d9d04510accfc218056d8185fdd18b046963-r2@sha256:deec5fa533238c8c39f06e2ae458c2cc4aa2f6d028e93ace3b9dbb3b74b96381
  • docker.io/uniqueg/poiesis-migrations:c506d9d04510accfc218056d8185fdd18b046963-r2@sha256:946ae7e5cdf1ff3c1f70a4e35258272b9ebefdedaf01bdcc6160d8a2235268e9

Create the Secrets first: the chart only refers to them. One holds the DATABASE_URL of your PostgreSQL database, another the S3 credentials for the inputs and outputs of tasks (see the Production checklist). Then write your settings into poiesis-values.yaml, with your host name and Secret names:

image:
  registry: docker.io
  repository: uniqueg/poiesis
  tag: c506d9d04510accfc218056d8185fdd18b046963-r2@sha256:deec5fa533238c8c39f06e2ae458c2cc4aa2f6d028e93ace3b9dbb3b74b96381
migrations:
  image:
    registry: docker.io
    repository: uniqueg/poiesis-migrations
    tag: c506d9d04510accfc218056d8185fdd18b046963-r2@sha256:946ae7e5cdf1ff3c1f70a4e35258272b9ebefdedaf01bdcc6160d8a2235268e9
database:
  # The Secret with the key DATABASE_URL
  existingSecret: poiesis-database
s3:
  endpoint: https://s3.example.org
  # The Secret with AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY
  existingSecret: poiesis-s3
api:
  ingress:
    enabled: true
    className: nginx
    annotations:
      cert-manager.io/cluster-issuer: letsencrypt-production
    hosts:
      - host: tes.example.org
        paths:
          - path: /
            pathType: Prefix
    tls:
      - secretName: poiesis-tls
        hosts:
          - tes.example.org
serviceInfo:
  id: org.example.tes
  name: Poiesis
  description: TES of Example for the members of its research groups
  organization:
    name: Example
    url: https://example.org/
  contactUrl: mailto:tes@example.org
  documentationUrl: https://example.org/tes/
  environment: prod
  # When your service started, with a UTC offset
  createdAt: "2026-11-25T00:00:00Z"
  • Service info: the registry imports these values in step 5 and keeps the entry in sync with them: follow the checklist of Prepare Your Service Info. This deployment accepts only the environments prod and test. Poiesis reports the storage that tasks can use itself, from the providers that are on, and refuses to start with invalid values (see Service info).
  • Security contexts: in a namespace that enforces the Pod Security level restricted, also set taskpods.executorSecurityEnforce: restricted, as the CZ Node does, or no task starts. On OpenShift, whose security context constraints assign users and seccomp profiles, set podSecurityEnforce: "off" and keep taskpods.executorSecurityEnforce: "off" (the default), as the FI Node does on CSC Rahti. Quote "off": unquoted, YAML reads it as false, which the chart refuses (see Restricted namespaces).

Add the auth values of step 3 to poiesis-values.yaml before you install, then install the chart from the checkout into a namespace of its own:

helm upgrade --install poiesis ./poiesis/deployment/helm/poiesis \
    --namespace poiesis --create-namespace -f poiesis-values.yaml

Check, as for TESK, that https://tes.example.org/ga4gh/tes/v1/service-info answers from outside, without a token, with your values.

3. Enable LS Login and ECP_CLN access

The policy of the ELIXIR On-Cloud: only members of the LS Login group ECP_CLN:EOC-Compute may create tasks on a Node's TES service; the parent group ECP_CLN, its other subgroups and ECP_CLN:ADMIN don't let users create tasks (see Access control for compute). LS Login releases group memberships as values of the claim eduperson_entitlement; the value of the group is urn:geant:lifescience-ri.eu:group:elixir:ECP_CLN:EOC-Compute#aai.lifescience-ri.eu. The values are recorded in generic-issues#46: LS Login releases them in the user info only, not in the access token, and only those of the groups assigned to the client that issued the token. Ask the admins if your service needs other values.

Keep GET /service-info public. The registry can only import and sync service info that answers without a token (see Using the Cloud Registry).

TESK

With auth.mode: auth, TESK requires an access token for every endpoint except GET /service-info, which stays public by default (auth.serviceInfoPublic). From chart 0.5.0 on, with tesk-api 2.1.0, TESK checks the tokens itself, against the keys of the issuers that you list (auth.issuers): a token must be a signed JWT access token of LS Login whose audience (aud) is one of the client IDs that you list (see Token validation). A decision service decides who may create tasks: by default, the chart runs tes-authz 0.1.0 as a sidecar of the API, which lets those create tasks whose claim eduperson_entitlement holds one of the values of authz.policy.createEntitlements (see Authentication and authorisation). tesk-api reads the claim from LS Login's user info endpoint, as LS Login puts it into the user info only. Add to my-values.yaml:

auth:
  mode: auth
  issuers:
    # LS Login, exactly as in the iss of its tokens (with the trailing /)
    - url: https://login.aai.lifescience-ri.eu/oidc/
      # The client IDs of the front ends through which users get tokens for
      # your TESK: Krini's (see below)
      audiences:
        - 5fc66010-a596-48e4-8c09-89a767ef136c
authz:
  policy:
    # Only the members of ECP_CLN:EOC-Compute may create tasks
    createEntitlements:
      - "urn:geant:lifescience-ri.eu:group:elixir:ECP_CLN:EOC-Compute#aai.lifescience-ri.eu"

These values implement the policy:

  • Creating tasks: only users with the value of ECP_CLN:EOC-Compute, and the service clients that you list (see step 7); everyone else gets 403 Forbidden. The sidecar compares the values exactly: list no other group, and not the parent group ECP_CLN. The chart sends tesk-api's claim eduperson_entitlement to the decision service by default (authz.decisionService.claims), so you don't need to set it.
  • Owners: each task belongs to its creator only, identified by the issuer and the subject of the token. The creator gets, lists and cancels their own tasks, also after their membership in ECP_CLN:EOC-Compute is revoked. Other users' tasks are not found (404 Not Found), and lists show only the caller's own tasks. There is no admin view: you handle stuck or abusive tasks with kubectl, not through the TES API.
  • Audience: 5fc66010-… is the client ID of Krini, the portal of the ELIXIR On-Cloud, through which members get their tokens; LS Login puts the ID of the client that got a token into its aud. If you register a client of your own, for example, for TESK's Swagger UI (auth.clientId), add its ID to audiences too, and let it request the scope eduperson_entitlement, so that LS Login releases the group to it (see Groups and facilities).

Everyone who may create tasks can run any image with any command on your cluster: read the trust implications in the docs of tesk-api. To limit the images, set authz.policy.imagePrefixes (see The tes-authz sidecar). The sidecar adds a container to the API's pod, with CPU and memory requests and limits of its own (authz.deploy.resources), which count against the quotas of your namespace. To use a decision service of your own instead, for example, tes-authz with a policy of your own, set authz.deploy.enabled: false and its URL, authz.decisionService.url (see An external decision service); its policy has to enforce the same rules.

Set these values before the first installation (see step 2); to change them later, run its helm upgrade --install command again. The gateway needs one more entry, auth.issuers[].serviceClients (see step 7): you can add it now.

Upgrading from chart 0.4.0

Chart 0.5.0 removes the values of the old access model (auth.userInfoUri, auth.groups, auth.envBaseGroup, auth.envSubgroup, auth.claim, auth.tokenClients, auth.legacyUserLabels), and fails if one of them is set. Tasks created before tesk-api 2.1.0 belong to nobody afterwards: no caller can get, list or cancel them through the API. So that no task is created in the old format while you upgrade, stop the old API first (kubectl scale deployment/<prefix>-api --replicas=0 -n tesk, where <prefix> is that of your release), wait until no task runs, and upgrade then: the upgrade starts the new API. Convert your values and upgrade as in TESK's upgrade notes, with your values files, not with helm upgrade --reuse-values.

What runs at the FI and CZ Nodes

The TESKs of the FI and CZ Nodes run chart 0.5.0, with tesk-api 2.1.0 and the tes-authz 0.1.0 sidecar, and the values of this step: they accept LS Login tokens of members of ECP_CLN:EOC-Compute only (generic-issues#35, generic-issues#122), and the gateway's service client (see step 7).

Poiesis

Poiesis validates the tokens of the issuers listed under auth.issuers itself, and admits only those that carry a value of a claim (requiredClaim), read from the token or from the user info. Its API keys let clients that can't refresh tokens, such as the gateway and workflow engines, act as the account that minted the key (see Authentication, OIDC federations and API keys). Add the values that the FI and CZ Nodes run to poiesis-values.yaml, with your public URL:

auth:
  enabled: true
  # The public URL of your Poiesis: 401 answers point clients to it
  resource: https://tes.example.org
  issuers:
    - issuer: https://login.aai.lifescience-ri.eu/oidc/
      # Krini's LS Login client: tokens from Krini are accepted
      audience: 5fc66010-a596-48e4-8c09-89a767ef136c
      userinfo:
        enabled: true
      requiredClaim:
        name: eduperson_entitlement
        values:
          - "urn:geant:lifescience-ri.eu:group:elixir:ECP_CLN:EOC-Compute#aai.lifescience-ri.eu"
      keyMinting:
        clients:
          - 5fc66010-a596-48e4-8c09-89a767ef136c
  apiKeys:
    enabled: true
    defaultTtl: 7d
    maxTtl: 90d
    maxPerOwner: 5
  • Issuer and audience: LS Login puts the ID of the client that got the token into aud, so the audience is a client ID. 5fc66010-… is the client of Krini, the portal of the ELIXIR On-Cloud: members use the tokens that they get there, and Krini's client has ECP_CLN:EOC-Compute assigned, so LS Login releases the group to it. Your Poiesis needs no client of its own.
  • User info: LS Login releases eduperson_entitlement at its user info endpoint, not in the access token: without userinfo, the claim rule refuses everyone with 403 Forbidden.
  • Claim rule: only the value of ECP_CLN:EOC-Compute; no prefix, so that neither the parent group ECP_CLN nor its other subgroups get in. Every user sees only their own tasks.
  • API keys: keyMinting lets tokens of Krini's client mint keys, so that members can mint keys for their workflow engines and the admins can mint the key of the gateway (see step 7). A key keeps the claims of its owner as of minting until it expires or is revoked, so maxTtl bounds how long a member who leaves ECP_CLN:EOC-Compute keeps access through a key minted before: up to 90 days with these values, which the ELIXIR On-Cloud accepts for now. A smaller maxTtl shortens that, and the gateway's key then has to be replaced more often (see Deprovisioning lag).

No decision service is needed: the claim rule admits only the members of ECP_CLN:EOC-Compute. The FI and CZ Nodes also run tes-authz, a build from before its first release, 0.1.0.

Funnel

Funnel 0.12.3 validates OIDC tokens with the Server.OidcAuth section of its configuration: ServiceConfigURL (for LS Login, https://login.aai.lifescience-ri.eu/oidc/.well-known/openid-configuration) and the required RequireAudience, and TaskAccess: Owner limits users to their own tasks (see OAuth2). Ask the admins which audience to require.

Gap

Funnel accepts every valid token of the provider: it can't yet limit access to members of ECP_CLN:EOC-Compute. This is tracked in generic-issues#20.

4. Check it with a test task

Get an access token of your LS Login account from Krini, or from a client of your own with the scope eduperson_entitlement (see Get an access token); Poiesis accepts only the clients of its audience. Then create a task, with the example of TESK's API docs, and get its state, with your host name:

TES=https://tes.example.org/ga4gh/tes/v1
cat > hello.json <<'EOF'
{
  "name": "Hello World",
  "executors": [
    {"image": "alpine", "command": ["echo", "TESK says: Hello World"]}
  ]
}
EOF
read -rs TOKEN   # paste the token; it is not shown or saved in the history
ID=$(printf 'Authorization: Bearer %s\n' "$TOKEN" | curl -fsS -X POST "${TES}/tasks" \
    -H 'Content-Type: application/json' -H @- \
    -d @hello.json | jq -r '.id // empty')
echo "${ID:?no task ID}"
printf 'Authorization: Bearer %s\n' "$TOKEN" | curl -fsS "${TES}/tasks/${ID}?view=BASIC" -H @-

The first request returns the ID of the new task (it needs jq). Repeat the last one until the state is COMPLETE. The task runs the image alpine, which the cluster must be able to pull. Poiesis implements the same API.

Also check that access is limited:

  • Without a token, or with an invalid one, POST /tasks must fail with 401 Unauthorized.
  • A token of an account that isn't a member of ECP_CLN:EOC-Compute must fail with 403 Forbidden.
  • With that account's token, the task of your test must not be found: TESK answers 404 Not Found for other users' tasks, and lists only the caller's own.
  • GET /service-info must still answer without a token.

For TESK, the script tests/smoke/deployment.sh of the TESK repository runs these checks and a few more from outside the cluster, with your token in TOKEN (see Checking a deployment). For Poiesis, also mint an API key with your token, as in Minting a key, and run the task again with the key in place of the token: the gateway uses one (see step 7). Revoke the key afterwards.

Federated learning

To take part in the federated learning runs of the NVFlare testbed, tasks at your Node must reach the testbed's hub. Its probe task checks that, and whether inputs arrive (see Probing a node): ask the admins for the hub's address and port.

5. Register the service

Register your TES service in the Cloud Registry by importing its service info, and keep sync on, so that the entry follows your service. Using the Cloud Registry describes the policies of this deployment, and Using the Cloud Registry UI how to log in and register in the front end. In short:

  1. Check your service info against the rules of this deployment, as described in Check before you import.
  2. Log in to the Cloud Registry with LS Login.
  3. Import the service info of your service, for example, https://tes.example.org/ga4gh/tes/v1/service-info, check the values, and register them, with Keep this service in sync with its service info ticked. If the values are wrong, correct the service info and import again, rather than changing them in the form.
  4. If the registry answers that the API type or its version isn't allowed, check that your service reports the type exactly as registered: types are compared as written, and case variants of registered types aren't added. TESK and Poiesis serve the registered type org.ga4gh / tes, version 1.1.0. If your service implements an API, or a version of it, that isn't registered yet, ask the admins to add it: only they can add types in this deployment.

If your entry shows out-of-sync, see Out-of-sync reasons.

Gap: Funnel

The service info of Funnel can't be set yet (Funnel 0.12.3, calypr/funnel#1493, fixed by calypr/funnel#1495 but not released yet): it has the environment development, which this deployment refuses. Register it by hand, with sync off, as described in Manual entry, the fallback. Ask the admins how to proceed, as entries without readable service info aren't verified here (see Verified services). Poiesis 0.2.0 can't set its service info either; the commit of step 2 can.

6. Get verified

Write to cloud-service@elixir-europe.org with the address of your entry, and ask for its verification. Only admins can verify services; you can't verify your own. What they check is up to this deployment, for example, that the service accepts tokens of LS Login (see Verified services).

Verification is kept when sync updates the entry, but changing the URL or the API type removes it. See Verified services for what it means.

For what the admins check before they verify your entry, see What the admins check.

7. Get added behind the gateway

proTES is the gateway in front of the Nodes' TES services: clients send their tasks to proTES, which forwards each task to one of the TES services it knows. It knows a TES service in one of two ways (see TES instances):

  • Configured: its admins list your service in the configuration of proTES.
  • Discovered: proTES reads the verified TES services of a Cloud Registry, so that a new Node is used once it is registered and verified, without a change of the configuration (see Discovery in a service registry).

For discovery, proTES uses a service only if all of these hold: it is verified, with its current URL and API type; it is a TES service of one of the versions that proTES accepts, and of one of the environments, if the gateway selects by environment; its URL is an https URL; and its host has public addresses only. Requests to discovered services don't follow redirects.

proTES never forwards the tokens of its users. It authenticates at TES services with credentials of its own: an access token of its own client (client_credentials, the default, also for discovered services), HTTP Basic credentials (basic, a transitional mode for TES services that don't accept tokens yet), or none (see Credentials of TES instances); its development branch, to be released with 0.8.0, adds API keys (api_key, see API keys of TES instances). Agree with the admins how the gateway authenticates at your service, and make your service accept it:

  • TESK: list the gateway's LS Login client as a service client of LS Login, in auth.issuers[].serviceClients (see Tokens of services). For the ELIXIR On-Cloud's proTES, whose client is on the proTES page, add serviceClients to the issuer of step 3 in my-values.yaml, and run the helm upgrade --install command of step 2 again:

    auth:
      mode: auth
      issuers:
        - url: https://login.aai.lifescience-ri.eu/oidc/
          audiences:
            - 5fc66010-a596-48e4-8c09-89a767ef136c
          # The gateway: its own tokens (client credentials) are accepted
          serviceClients:
            - clientId: 7c0c1fc0-e8ca-47d6-a9b2-bdc843961146
    

    TESK recognises the gateway's own tokens by the issuer and the client ID (both client_id and sub are the client ID), and accepts them only if their aud names the gateway's own client ID, which LS Login does for tokens of the client credentials grant. The tes-authz sidecar lets listed service clients create tasks without the group of step 3. The gateway owns the tasks that it creates, and gets, lists and cancels only those: none of your users' tasks, and no admin rights. All tasks that the gateway creates belong to the gateway; the gateway itself keeps apart which of its users created which task. Everyone who holds the credentials of a listed client can run any image on your cluster: list only the gateway's client.

    Leave allowAnyAudience off. It accepts a client's own tokens whatever their aud, also tokens that the client got for other services, so that a token that leaks from another service, or that another service replays, runs tasks on your cluster until it expires. It is opt-in, for tests, or while the audiences of a client at the identity provider are being sorted out (see Tokens of services).

  • Poiesis: nothing more to set. The gateway calls Poiesis with an API key. An admin of the ELIXIR On-Cloud who is a member of ECP_CLN:EOC-Compute mints it at your Poiesis with a token from Krini, whose client keyMinting lists (see step 3), and stores it for the gateway, which needs proTES 0.8.0. Poiesis sees the tasks of the gateway as tasks of that admin's account, so that account can list, read and cancel them at your Poiesis; users still see only their own tasks in proTES. This holds until proTES exchanges the tokens of its users for tokens of each TES service (proTES#501); then the keys are revoked. Keys live at most maxTtl (90 days), so the admins mint a new one before the old one expires, and revoke the old one. What the ELIXIR On-Cloud's proTES runs is on the proTES page.

Tell the admins that your service is ready, then check that tasks sent through the gateway arrive at your service.

The ELIXIR On-Cloud's proTES lists its TES services in its configuration; it doesn't discover them in the Cloud Registry. Its address and the TES services that it uses are on the proTES page. The rest of its configuration is tracked in generic-issues#31.

8. Optional: automatic upgrades with Pubgrade-Sidecar

Pubgrade-Sidecar rolls out new releases of a service to its Kubernetes Deployments when Pubgrade notifies it. It runs in the namespace of the service, and changes only the image tags of the Deployments that it may update. It works for TESK, whose tesk-api images are released with version tags; not for Poiesis, which has no released images for the commit of step 2. Install version 0.3.1 into the namespace of TESK, as described in Deployment:

  1. Check out the release:

    git clone --depth 1 --branch v0.3.1 https://github.com/elixir-cloud-aai/Pubgrade-Sidecar.git
    cd Pubgrade-Sidecar
    
  2. Create a Secret with a token of its own for your Node. The token goes through a file that only you can read, never on a command line:

    TOKEN_FILE="$(mktemp)"
    openssl rand -hex 32 | tr -d '\n' > "$TOKEN_FILE"
    kubectl -n tesk create secret generic pubgrade-sidecar \
      --from-file=access-token="$TOKEN_FILE"
    rm -f "$TOKEN_FILE"
    
  3. Create a Secret with a Docker Hub personal access token with read-only access to public repositories. The sidecar checks that an image is on Docker Hub before it rolls it out; anonymous checks count against a limit per IP address, which pods that share one egress address, as on CSC Rahti, use up (see Registries). Enter the token at the prompt:

    read -r DOCKERHUB_USER     # the Docker Hub account of the token
    read -rs DOCKERHUB_TOKEN   # not shown or saved in the history
    DOCKERHUB_AUTH=$(printf '%s:%s' "$DOCKERHUB_USER" "$DOCKERHUB_TOKEN" | base64 -w0) \
      jq -n '{auths: {"https://index.docker.io/v1/": {auth: env.DOCKERHUB_AUTH}}}' |
      kubectl -n tesk create secret generic registry-credentials \
        --type=kubernetes.io/dockerconfigjson --from-file=.dockerconfigjson=/dev/stdin
    unset DOCKERHUB_USER DOCKERHUB_TOKEN
    

    The token goes through a pipe, never on a command line, where other users of the machine could see it.

  4. Write the values into a file of their own, for example, sidecar-values.yaml, not into the my-values.yaml of TESK. tesk-api is the Deployment of TESK for the release tesk:

    targetDeployments:
      - tesk-api
    accessToken:
      existingSecret: pubgrade-sidecar
    registryCredentials:
      existingSecret: registry-credentials
    # Roll out only higher versions, and only patch releases of tesk-api 2.1
    refuseDowngrades: true
    allowedTags: '2\.1\.[0-9]+'
    hostName: sidecar.example.org
    # Only on OpenShift (elsewhere, it fails: no Route API):
    route:
      enabled: true
    # Elsewhere, instead:
    # ingress:
    #   enabled: true
    #   className: nginx
    #   tlsSecretName: sidecar-tls
    

    With refuseDowngrades and allowedTags, a notification can't roll TESK back to an older release, or out to a tag that moves, such as latest; it gets 409 Conflict instead (see Refusing downgrades). Both need the Deployment's image to have a version tag, such as 2.1.0. Minor and major releases come with upgrade notes: install them by hand, as below. On clusters that reject pods asking for the RuntimeDefault seccomp profile (for example, CSC Rahti), add podSecurityContext: {seccompProfile: null}.

  5. Install the chart:

    helm install pubgrade-sidecar deployment/ -n tesk -f sidecar-values.yaml
    
  6. Check the sidecar from outside, as in Checking a deployed sidecar, with the token of step 2. The script reads only, and ends with exit code 0 if all checks passed:

    ACCESS_TOKEN="$(kubectl -n tesk get secret pubgrade-sidecar \
      -o jsonpath='{.data.access-token}' | base64 -d)" \
      tests/check_deployment.sh https://sidecar.example.org tesk-api
    

Subscription and what comes next

The central Pubgrade service of the ELIXIR On-Cloud runs on the Finnish Node since 2026-11-12 (generic-issues#32) and notifies the sidecars subscribed to tesk-api of its new releases. As of 2026-12-02, the sidecars next to the TESK of the Finnish and the Czech Node are subscribed (see What runs at our Nodes). Ask the admins to subscribe yours. Until then, and for minor and major releases, upgrade TESK by hand, following the upgrade notes, and end with step 9. How to check, keep and roll back automatic upgrades: Automatic Upgrades.

9. Keep the registry entry up to date

End every upgrade, move or change of your TES service, by hand or by Pubgrade-Sidecar, with this step: update the service's Cloud Registry entry, or check that sync did. Others find your service through its entry, so it must follow your service:

  • With sync on (TESK, Poiesis): check that the entry shows the new version, labelled synced. To sync at once, rather than waiting for the next sync, use PUT /services/<id>/sync of the registry.
  • Without sync (Funnel and Poiesis 0.2.0, registered by hand): edit the entry so that it matches the service again.
  • After a new URL or API type: ask the admins to verify the entry again.

See After a deployment or an upgrade for the details.

Data centres

A data centre that doesn't run tasks can still join, with storage for the tasks of the federation or with a TRS service for tools and workflows: follow Tutorial: Onboard a Data Centre.