You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat: set the API's update strategy (Recreate) #305
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