Skip to content

feat: set the API's update strategy (Recreate) #305

Closed

Description

@uniqueg

Problem

tesk-api 2.0.0 (elixir-cloud-aai/tesk-api#183) selects the executor jobs of a task with taskmaster-name=<id>,job-type=executor, and the taskmaster of tesk-core 0.12.0 also labels the filer jobs with taskmaster-name (elixir-cloud-aai/tesk-core#147). An older TESK API that serves tasks started by the new taskmaster misreads the filer jobs as executors and reports wrong task states.

The upgrade order is therefore: the TESK API first, then the taskmaster. If one helm upgrade brings both, no old API pod may serve during the rollout. The chart's API Deployment sets no strategy, so Kubernetes uses RollingUpdate: the old API pod keeps serving while the new one starts.

Proposal

  • Add the value tesk.strategy (the API Deployment's spec.strategy, fields of a Kubernetes DeploymentStrategy), rendered with toYaml, defaulting to type: Recreate; null leaves Kubernetes' default (RollingUpdate).
  • Check it in the schema and the templates (e.g., rollingUpdate only with type: RollingUpdate).
  • Document it in values.yaml, the configuration reference and the upgrade notes: tesk-api 2.0.0 plus taskmaster 0.12.0 in one upgrade needs Recreate (a short API downtime); operators who upgrade in two steps may switch back to RollingUpdate.

The image versions and appVersion are bumped separately, after the tags.

Activity

  1. self-assigned this
    on Nov 15, 2026
  2. added
    status: in progress
    type: feature
    workload: hours
    on Nov 15, 2026
  3. moved this from Backlog to In progress in ELIXIR On-Cloudon Nov 15, 2026
  4. moved this from In progress to In review in ELIXIR On-Cloudon Nov 15, 2026
  5. moved this from In review to Done in ELIXIR On-Cloudon Nov 15, 2026
  6. removed
    status: in progress
    on Nov 15, 2026
  7. added this to the v0.4.0 milestone on Nov 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

priority: hightype: featureworkload: hours

Type

No type

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions