Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ScaledJob: introduce rolloutStrategy #2164

Merged
merged 14 commits into from
Nov 1, 2021
Prev Previous commit
Next Next commit
fix typo deleteing -> deleting
Signed-off-by: etamarw <etamarw@wix.com>
  • Loading branch information
etamarw committed Oct 20, 2021
commit 156df975c0ab00beaba98f56b9283e3b5f164113
2 changes: 1 addition & 1 deletion controllers/keda/scaledjob_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ func (r *ScaledJobReconciler) deletePreviousVersionScaleJobs(logger logr.Logger,
}
return fmt.Sprintf("RolloutStrategy: immediate, deleted jobs owned by the previous version of the scaleJob: %d jobs deleted", len(jobs.Items)), nil
case "gradual":
etamarw marked this conversation as resolved.
Show resolved Hide resolved
logger.Info("RolloutStrategy: gradual, Not deleteing jobs owned by the previous version of the scaleJob")
logger.Info("RolloutStrategy: gradual, Not deleting jobs owned by the previous version of the scaleJob")
}
return fmt.Sprintf("RolloutStrategy: %s", scaledJob.Spec.RolloutStrategy), nil
}
Expand Down