Skip to content

ops: add a Pubgrade sidecar next to the CZ TESK #180

Done

Description

@uniqueg

Why?

M4.3 needs Pubgrade sidecars next to the TES deployments of two Nodes (#34). FI has one (#141); the second Node is CZ, where we run TESK in CERIT's namespace elixir-tes-ns.

How?

  1. The CZ TESK runs a tesk-api release deployed with Helm (CZ: upgrade the TESK to tesk-api 2.1 with Helm #179), not a commit image.
  2. Check from a pod in elixir-tes-ns whether CERIT's egress hits Docker Hub's anonymous rate limit (as Rahti's does, ops: authenticate image checks at FI #141). If it does, add a kubernetes.io/dockerconfigjson Secret with the read-only token to the namespace (created without printing it).
  3. Install Pubgrade-Sidecar 0.3.1 or later as its own Helm release: targetDeployments: [tesk-api], refuseDowngrades: true, allowedTags: 2\.1\.[0-9]+ (patch releases of the running minor only; minor and major releases go through Helm, decision of 2026-11-25), registryCredentials if step 2 needs them, its own access token, and an Ingress with TLS like the TESK's for Pubgrade's callback. Pod Security restricted stays.
  4. An admin subscribes the sidecar at https://upgrade.elixir-on.cloud to the tesk-api repository (type tag, value *).
  5. Rehearsal: re-run the notify job of the deployed tesk-api release. Nothing may change.

Acceptance criteria

  • The CZ TESK's sidecar is subscribed at Pubgrade, and the rehearsal changed nothing.
  • The steps that ran are recorded here (no tokens).

Activity

  1. self-assigned this
    on Nov 28, 2026
  2. added
    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 is under Pubgrade's automatic patch upgrades.

    S1, Docker Hub from CERIT's egress. 2026-12-02, throwaway pod in elixir-tes-ns, deleted afterwards.

    • Result: HTTP 200, ratelimit-limit: 100;w=3600, ratelimit-remaining: 100;w=3600.
    • So there is no pull Secret (--no-registry-credentials).

    S2, sidecar. 2026-12-02 12:52 UTC, go word ONBOARD-TESK-CZ. Release pubgrade-sidecar revision 1 in elixir-tes-ns, chart 0.3.1 verified.

    • Settings: allowedTags 2\.1\.[0-9]+, refuseDowngrades, target tesk-api.
    • Callback: Ingress nginx-traefik with cert-manager letsencrypt-gateway, host pubgrade-sidecar-tesk.dyn.cloud.e-infra.cz (resolves, certificate issued).
    • The sidecar's own check passed:
      • 308 redirect to HTTPS;
      • 400 without a token, 401 with a wrong one;
      • deployments listed, tesk-api status complete at 2.1.0;
      • a non-target refused with 403.

    Subscription. Pubgrade repository tzdj1w (elixir-cloud-aai/tesk-api), subscription vo755u, registered on 2026-12-02 in the registration window, which uniqueg ran (pubgrade-registration-window.fish). The subscribe Job and the temporary Secret are deleted, registration is closed again, and Pubgrade answers.

  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