-
Notifications
You must be signed in to change notification settings - Fork 635
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
Replace k8s.io/apimachinery/pkg/util/clock with k8s.io/utils/clock and bump k8s.io to 1.28 #793
Conversation
MartinForReal
commented
Aug 17, 2023
•
edited
Loading
edited
- Replace k8s.io/apimachinery/pkg/util/clock with k8s.io/utils/clock
- bump k8s.io to 1.28
7fe24a2
to
ef90641
Compare
/retest |
d5b07af
to
703904c
Compare
/test pull-npd-e2e-node |
/retest-required |
/test pull-npd-e2e-node |
1 similar comment
/test pull-npd-e2e-node |
b87c7e3
to
2210c50
Compare
e2e error is related to kubernetes/kubernetes#120231 |
/test pull-npd-e2e-node |
1 similar comment
/test pull-npd-e2e-node |
/test pull-npd-e2e-node |
2 similar comments
/test pull-npd-e2e-node |
/test pull-npd-e2e-node |
/test pull-npd-e2e-node |
@hakman Thanks for the fix! I've also updated the pr. PTAL. Thanks! |
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.
@MartinForReal I don't mind picking up the changes in this PR, but maybe keep the commit as cherry-pick (not very important though).
The commit message mentions k7s, which is a typo. In general, this is just a dependencies upgrade and maybe a separate commit to deal with the ticker change.
I don't think the changes you added for RealClock and FakeClock are needed:
https://github.com/kubernetes/utils/blob/3b25d923346b3814e0898684c97390092f31a61e/clock/clock.go#L82C1-L83C1
var _ = WithTicker(RealClock{})
// RealClock really calls time.Now()
type RealClock struct{}
...
@hakman Thanks for reviewing the pr! |
/lgtm |
k8s.io/component-base v0.17.2 | ||
k8s.io/api v0.28.1 | ||
k8s.io/apimachinery v0.28.1 | ||
k8s.io/client-go v9.0.0+incompatible |
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.
Shouldn't this also v0.28.1
?
k8s.io/client-go v9.0.0+incompatible | |
k8s.io/client-go v0.28.1 |
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.
This is one is replaced with v0.28.1. please see the last line. It is related to cadvisor. I will try to upgrade that part in following pr.
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.
Ah, ok. Thanks for the explanation.
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.
Pretty strange to depend on cadvisor just for a log tailing lib 😄
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.
It has not changed for a long time..
/cc @vteratipally |
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.
Sorry for the delay! Some small comments, but overall good. Thanks!
/lgtm
Please ignore my previous comments, everything looks great! |
sorry for the delay, /lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: MartinForReal, mmiranda96, vteratipally 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 |