Upgrade Cloneset from v1alpha1 to v1beta1#2225
Conversation
49cc5b7 to
1187cfd
Compare
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #2225 +/- ##
==========================================
+ Coverage 47.89% 47.95% +0.06%
==========================================
Files 324 324
Lines 27520 27843 +323
==========================================
+ Hits 13181 13353 +172
- Misses 12844 12964 +120
- Partials 1495 1526 +31
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
0d3ead7 to
0844d5f
Compare
0ed533a to
9893d29
Compare
2f881ee to
9c25eab
Compare
a9e1d74 to
f644ced
Compare
f644ced to
a1567b5
Compare
| // Validate Parallelism (only supports integer, not percentage) | ||
| if obj.Spec.Parallelism != nil { | ||
| parallelism := obj.Spec.Parallelism | ||
| if parallelism.Type == 1 { // 1 is String type |
There was a problem hiding this comment.
replace constant with intstr.String
| // Validate Parallelism (only supports integer, not percentage) | ||
| if obj.Spec.Parallelism != nil { | ||
| parallelism := obj.Spec.Parallelism | ||
| if parallelism.Type == 1 { // 1 is String type |
There was a problem hiding this comment.
replace constant with intstr.String
1b7e8a4 to
a673d8a
Compare
Signed-off-by: PersistentJZH <zhihao.kan17@gmail.com> - add OnDelete Strategy in v1bata1 CloneSet - add ProgressDeadlineSeconds in v1beta1 in cloneset - optimize CloneSetUpdateStrategy structure - transfer image preDownload related annotations to spec field - add image pre download field validate replace constant with intstr.String Signed-off-by: PersistentJZH <zhihao.kan17@gmail.com>
a673d8a to
6d9fc3b
Compare
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: furykerry The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Ⅰ. Describe what this PR does
upgrade Cloneset from v1alpha1 to v1beta1
change scaleStrategy.disablePVCReuse(default false) to scaleStrategy.enablePVCReuse(default false)
transfer annotation apps.kruise.io/cloneset-scaling-exclude-preparing-delete to scaleStrategy.excludePreparingDelete
optimize CloneSetUpdateStrategy structure
transfer image preDownload related annotations to spec field
Ⅱ. Does this pull request fix one issue?
#2122
Ⅲ. Describe how to verify it
Ⅳ. Special notes for reviews