-
Notifications
You must be signed in to change notification settings - Fork 318
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
all: upgrade to k8s v1.24.15 #1398
all: upgrade to k8s v1.24.15 #1398
Conversation
9989725
to
9f67f43
Compare
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #1398 +/- ##
==========================================
- Coverage 64.75% 64.58% -0.17%
==========================================
Files 333 334 +1
Lines 34297 34265 -32
==========================================
- Hits 22209 22131 -78
- Misses 10453 10521 +68
+ Partials 1635 1613 -22
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
905404d
to
898b50b
Compare
Several methods to solve v1.CSIStorageCapacity's incompatibility with k8s v1.22 version:
|
@eahydra Prefer #1. We could have a flag/featuregate or automatically discovery to decide whether v1 or v1 wrapper should be used. |
898b50b
to
f1a3cc1
Compare
OK. According to the first method, it is controlled by featureGate. |
f1a3cc1
to
33a8552
Compare
c9b7b53
to
7f41524
Compare
7f41524
to
039f962
Compare
Signed-off-by: Joseph <joseph.t.lee@outlook.com>
039f962
to
9bc2722
Compare
/lgtm |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
Prefer 1, the tricky part is for compatibility and is worth the cost. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: hormes The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Ⅰ. Describe what this PR does
known compatibility issues:
volumebinding
plugin of k8s scheduler framework depends on v1.CSIStorageCapacity , which will cause koord-scheduler to fail to run in v1.22 and earlier versions.NOTE:
Compatibility issues brought by v1.CSIStorageCapacity will be more troublesome, which will involve the EventHandlers code of the scheduler framework. This place is not easy to modify, unless we maintain a scheduler framework code separately and do some special processing.
According to the discussion, the solution is as follows:
DisableCSIStorageCapacityInformer
to disable sync the objects via informer.CompatibleCSIStorageCapacity
to sync v1beta1.CSIStorageCapacity and tranform the objects to v1.CSIStorageCapacity.Ⅱ. Does this pull request fix one issue?
Ⅲ. Describe how to verify it
Ⅳ. Special notes for reviews
V. Checklist
make test