Skip to content

jobs: continuous: set strategy based on number of replicas

Arturo Borrero Gonzalez requested to merge arturo-300-jobs-continuous-set into main

If the job only has one replica, use strategy: Recreate, so if the job is restarted, only one pod is running at any given time.

If the job has more than one replica, use strategy: RollingUpdate, which will let multiple pods run while restarting them.

Bug: T375366 Signed-off-by: Arturo Borrero Gonzalez aborrero@wikimedia.org

Merge request reports