-
Notifications
You must be signed in to change notification settings - Fork 111
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
Bug 1862643: UPSTREAM: 96120: kubelet: Expose a simple Get-WinEvent shim on the kubelet logs endpoint #383
Bug 1862643: UPSTREAM: 96120: kubelet: Expose a simple Get-WinEvent shim on the kubelet logs endpoint #383
Conversation
@LorbusChris: This pull request references Bugzilla bug 1862643, which is invalid:
Comment In response to this:
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. |
f5d7db5
to
84d29db
Compare
Putting |
@LorbusChris: No Bugzilla bug is referenced in the title of this pull request. In response to this:
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. |
/retest |
I've verified this works:
There are a few gotchas:
PTAL @aravindhp |
@LorbusChris: The following test failed, say
Full PR test history. Your PR dashboard. 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. I understand the commands that are listed here. |
We aren't going to carry something like this. This needs to go upstream. Unless there is some reason of which I am not aware. |
/hold |
…belet logs endpoint Provide an administrator a streaming view of event logs on Windows machines without them having to implement a client side reader. The kubelet API for querying the Linux journal is re-used for invoking the Get-WinEvent cmdlet in a PowerShell. Parameters that have no functional equivalence in Get-WinEvent are ignored when assembling the command. Only available to cluster admins.
1e1c6b1
to
1954664
Compare
@LorbusChris: This pull request references Bugzilla bug 1862643, which is valid. 3 validation(s) were run on this bug
In response to this:
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. |
@aravindhp why is this required for windows? a change like this upstream really requires a kep. |
The upstream PR won't make it into 1.21, and probably needs a KEP according to @derekwaynecarr. Approving as a temporary carry. /approve |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: LorbusChris, sjenning, sttts 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 |
@derekwaynecarr we need a way to get the Container Runtime logs (Docker at this time) without SSH'into the Windows machine. Docker on Windows always logs to the WinEvent log - it's not configurable. Please note that the client side to make this feature usable should also be upstreamed to |
/cherry-pick release-4.6 |
@LorbusChris: once the present PR merges, I will cherry-pick it on top of release-4.6 in a new PR and assign it to you. In response to this:
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. |
/retest |
/retest Please review the full test history for this PR and help us cut down flakes. |
8 similar comments
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
@LorbusChris: All pull requests linked via external trackers have merged: Bugzilla bug 1862643 has been moved to the MODIFIED state. In response to this:
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. |
@LorbusChris: new pull request created: #446 In response to this:
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. |
Use the Get-WinEvent shim on kubelet logs endpoint introduced in openshift/kubernetes#383 to collect docker runtime logs from Windows machines.
Use the Get-WinEvent shim on kubelet logs endpoint introduced in openshift/kubernetes#383 to collect docker runtime logs from Windows machines.
Provide an administrator a streaming view of event logs on Windows
machines without them having to implement a client side reader.
The kubelet API for querying the Linux journal is re-used for invoking
the Get-WinEvent cmdlet in a PowerShell.
Parameters that have no functional equivalence in Get-WinEvent are
ignored when assembling the command.
Only available to cluster admins.
What type of PR is this?
/kind feature
What this PR does / why we need it:
Enable event log collection on Windows worker nodes
Upstream patch reference: kubernetes#96120