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
Kubelet status manager sync the status of local Pods #77661
Kubelet status manager sync the status of local Pods #77661
Conversation
Hi @mfpierre. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
cc @dashpole (following up on #61717 (comment)) e2e reboot test seems to pass now |
@mfpierre thanks for your work here :) I just want to confirm that its ok to merge the changes to |
@mattjmcnaughton if you look back at the changes made on Didn't pick up this changes to make the code change in the PR as minimal as possible. |
/ok-to-test |
On Thu, May 09, 2019 at 07:39:01AM -0700, Pierre Margueritte wrote:
@mattjmcnaughton if you look back at the changes made on `kubelet_pods.go` in the original PR it was a refactoring adding an early return but the logic was the same.
Didn't pick up this changes to make the code change in the PR as minimal as possible.
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
#77661 (comment)
Thanks for confirming :)
/assign @dchen1107
|
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
/priority important-soon
/lgtm |
/assign @Random-Liu |
I think the test failure was caused by the other part of the change in #57106 I think this part should be safe. Let's see. /approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mfpierre, Random-Liu 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 |
@kubernetes/sig-node-pr-reviews can I get a status update on this PR's three cherry picks? None of them have been approved and one is held... |
ping @kubernetes/sig-node-pr-reviews -- let us know in case you have concerns with approving those cherry picks. Or please approve them, if not ;) Thanks a lot! |
I'm not sure this is worth cherry-picking back to previous branches. It's not fixing a regression, and is more close to supporting a new feature. |
This enables the kubelet pod list to have correctly updated statuses for static pods. ref: kubernetes/kubernetes#77661
This enables the kubelet pod list to have correctly updated statuses for static pods. ref: kubernetes/kubernetes#77661
This enables the kubelet pod list to have correctly updated statuses for static pods. ref: kubernetes/kubernetes#77661
This enables the kubelet pod list to have correctly updated statuses for static pods. ref: kubernetes#77661 Origin-commit: 4d137036db7b8881076ed2425887e6bac6d52739
This enables the kubelet pod list to have correctly updated statuses for static pods. ref: kubernetes#77661 Origin-commit: 952e25e2211caa32620f42a176f021a5fc730836
@tedyu this PR is effectively fixing the status of static pods on the local kubelet pod list, and we (datadog) and many of our customers do rely on this fix starting kubernetes 1.15 to fix their monitoring. |
@mfpierre
|
What type of PR is this?
/kind bug
What this PR does / why we need it:
Re-introducing the change made in #57106
This enables the kubelet pod list to have correctly updated statuses for static pods.
Example of the static
kube-proxy
pod without the fix:And with the fix:
The mentioned PR #57106 was reverted because e2e reboot tests were failing see #59889
But I tested the change locally and ran the e2e
Feature:Reboot
tests (usingkubetest
withgce
provider) and it seems to run fine:Which issue(s) this PR fixes:
Fixes #61717
Special notes for your reviewer:
As per #61717 (comment) reboot tests seems to be OK now.
Does this PR introduce a user-facing change?: