Skip to content

CZ: upgrade the TESK to tesk-api 2.1 with Helm #179

Done

Description

@uniqueg

Why?

Our CZ TESK (CERIT, namespace elixir-tes-ns) runs a commit build of tesk-api dev, not a release. A Pubgrade sidecar can only keep a release line patched, so the CZ TESK needs a tesk-api release, deployed with Helm (minor and major releases go through Helm, decision of 2026-11-25). The 2.1 line is the one the FI TESK moves to as well, so that one patch release can reach both Nodes (#33).

How?

  1. Once TESK chart 0.5.x (build: prepare the 0.5.0 release TESK#339) with tesk-api 2.1.x is released (build: prepare the 2.1.0 release tesk-api#212), upgrade the Helm release in elixir-tes-ns to it: the new auth values (issuers and audiences, the tes-authz decision service), the proTES service client, and the EOC-Compute entitlement for creating tasks. The Ingress stays as it is (class nginx-traefik, Let's Encrypt), and Pod Security restricted stays.
  2. Write the runbook first; render the chart and check it against the namespace's quota.
  3. Check the service: service-info reports 2.1.x; a task of a member and a task through proTES complete; a token without the entitlement gets 403 when it creates a task.

Acceptance criteria

  • The CZ TESK runs a tesk-api 2.1.x release tag from chart 0.5.x, deployed with Helm.
  • A member's task and a task through proTES completed; a non-member got 403.

Activity

  1. self-assigned this
    on Nov 28, 2026
  2. added
    status: blocked
    priority: high
    workload: hours
    ecp-wp4: M4.3
    on Nov 28, 2026
  3. moved this to Backlog in ELIXIR On-Cloudon Nov 28, 2026
  4. added
    status: in progress
    and removed
    status: blocked
    on Dec 2, 2026
  5. moved this from Backlog to In progress in ELIXIR On-Cloudon Dec 2, 2026
  6. uniqueg commented on Dec 2, 2026

    @uniqueg
    MemberAuthor

    Done: the CZ TESK (CERIT, namespace elixir-tes-ns) runs TESK chart 0.5.0 with tesk-api 2.1.0 and the tes-authz sidecar. Runbook: runbooks/tesk-upgrade.md (uniqueg/project-context#64, pins #75, fixes #76).

    Upgrade. 2026-12-02 12:41 UTC, go word UPGRADE-TESK-CZ. Helm revision 10 (was 9). The previous image was tesk-api sha-82ab28c.

    • Chart and images: the same as FI (chart 0.5.0 sha256 26888f86…8b19 and cosign verified; tesk-api 2.1.0@sha256:692f1941…; tes-authz 0.1.0@sha256:ca01827d…).
    • The live tokenClients settings were all defaults, so the proTES client became the only service client and nothing else needed mapping.
    • Checks before the change:
      • 0 active task jobs;
      • only the intended keys dropped;
      • Pod Security restricted admitted the pod;
      • server and Helm dry runs passed.

    Verification.

    • service-info: cz.e-infra.cloud.dyn.tesk, version 2.1.0, TES 1.1.0.
    • GET /tasks without a token: 401.
    • tesk-api and tes-authz ready, 0 restarts. The spec images are pinned by index digest.
    • Member token, 2026-12-02 13:29-13:31 UTC: the smoke test at tesk.dyn.cloud.e-infra.cz passed (task-40358914).

    Rollback. Not needed. tesk-upgrade.fish --site CZ rollback would go back to the recorded revision 9.

    Not covered here. The non-member check is part of the gi#44 walk on Thu 3 Dec.

  7. removed
    status: in progress
    on Dec 2, 2026
  8. moved this from In progress to Done in ELIXIR On-Cloudon Dec 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

ecp-wp4: M4.3priority: hightype: deploymentworkload: hours

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions