Closed dhaiducek closed 1 year ago
@dhaiducek since we are about to release 0.12.0, would like to know the progress of this PR. Is it ready for review, do you plan to include it in 0.12.0 or it can be moved to next release?
@qiujian16 It was waiting on #276, but now that it's merged I'll continue work here. I'll work on it this week, but I think it's also fine if v0.12.0
is released without these library updates so that this PR doesn't block the release.
Status update: I wrestled with the CI a bit because I'm on an M1 MacBook and some of the binaries aren't actually built for arm64 (those changes are in this PR). I've got current code working, migrating Timeout
--> ProgressDeadline
, but need to add logic (and tests) for the other fields that are in the new struct alongside it.
/cc @serngawy @haoqing0110
Sorry for the long delay here--between wrestling with the CI and getting pulled away for other tasks, it's taken longer to update than I thought. There might be some more tests required here, but I think the logic is largely (if not entirely) there.
Some notes:
Timeout
over to ProgressDeadline
and mark Timeout
as deprecated. I debated having MaxFailures
set to 100%
so the behavior wouldn't change there, but I think it better to leave it and make the migration obvious.MaxFailures
over the total number of clusters for Progressive
and per group for ProgressivePerGroup
, partially because Progressive
clusters are sorted alphabetically, so having a cluster injected at the beginning or middle could complicate things.Sounds good to me in general, I added more unit test to cover Rollout ProgressivePerGroup case.
After discussion with @serngawy I've updated the logic so that MandatoryDecisionGroups
tolerate no failures for any progressive rollout type.
LGTM, seems the ProgressDeadline
is just a rename of Timeout
, I'm fine to leave the Timeout
and mark it as deprecated.
/approve
Since manifestworkReplicaSet and ClusterManagerAddon install strategy is in alpha stage. Let's remove timeout in the next release (ie 0.14.0)
Since manifestworkReplicaSet and ClusterManagerAddon install strategy is in alpha stage. Let's remove timeout in the next release (ie 0.14.0)
Sounds good, thanks @qiujian16!
@serngawy @haoqing0110 I'd appreciate if you'd do another review here when you have a moment! 😄
Since manifestworkReplicaSet and ClusterManagerAddon install strategy is in alpha stage. Let's remove timeout in the next release (ie 0.14.0)
Sounds good, thanks @qiujian16!
@serngawy @haoqing0110 I'd appreciate if you'd do another review here when you have a moment! 😄
I gave it another review, sounds good to me @dhaiducek appreciate the good work :)
ops, didn't consider my approve will merge it @haoqing0110
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: dhaiducek, qiujian16, serngawy
The full list of commands accepted by this bot can be found here.
The pull request process is described here
Summary
Implement
RolloutConfig
, which provides more fine-tuned configuration for users than the currentTimeout
.Related issue(s)