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
Host events cannot be obtained #100236
Comments
/sig node instrumentation |
/assign @dashpole |
Good find. That is definitely wrong. /triage accepted |
The only thing i'm not sure of is if the UID is actually available when the event is being created. That reference is created when the node is booting up, but the UID isn't available until the node object is created. |
Is it possible to make it compatible so that the |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-contributor-experience at kubernetes/community. |
/remove-lifecycle stale |
@dashpole |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
/remove-lifecycle rotten |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
/remove-lifecycle stale |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
/remove-lifecycle stale |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
/remove-lifecycle stale |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
This issue has not been updated in over 1 year, and should be re-triaged. You can:
For more details on the triage process, see https://www.kubernetes.dev/docs/guide/issue-triage/ /remove-triage accepted |
ping @dashpole |
Was this fixed by #106485? |
What happened:
I shut down the host, and I don't see the related events through
kubectl describe
, but I can get the related events throughkubectl get node
This is the data. You can't see it through the description. I wonder if this is the right behavior?
Events obtained through
kubectl describe
After my investigation, I found that the uid of the two events
The uid of the events obtained through the description is like this
uid: 0ceac5fb-a393-49d7-b04f-9ea5f18de5e9
After my research, it is found that it is the uid of the node objectuid: i-w0msdm7d
It seems to be caused by thishttps://github.com/kubernetes/kubernetes/blob/master/pkg/kubelet/kubelet.go#L478
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Restart a host
Anything else we need to know?:
Environment:
kubectl version
):cat /etc/os-release
):uname -a
):The text was updated successfully, but these errors were encountered: