-
Notifications
You must be signed in to change notification settings - Fork 406
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
yurthub: stop renew node lease when kubelet's heartbeat is stopped #482
Conversation
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 seems to be a heavy solution.
Can we just log the lastKubeletLeaseReqTime
in ServerHTTP and just check the timestamp when we send heartbeat to APIServer?
@SataQiu please fix the conflicting files. |
d34621d
to
568a9bc
Compare
Thanks @rambohe-ch @Fei-Guo |
568a9bc
to
3bca06d
Compare
3bca06d
to
cfef4b6
Compare
Signed-off-by: SataQiu <shidaqiu2018@gmail.com>
cfef4b6
to
150900d
Compare
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: rambohe-ch, SataQiu 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 |
yurthub: stop renew node lease when kubelet's heartbeat is stopped
What type of PR is this?
/kind bug
What this PR does / why we need it:
yurthub: stop renew node lease when kubelet's heartbeat is stopped
Which issue(s) this PR fixes:
Fixes #420
Special notes for your reviewer:
/assign @rambohe-ch @Fei-Guo
Does this PR introduce a user-facing change?
other Note