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: Fixes plugin Watcher for Windows #111439
kubelet: Fixes plugin Watcher for Windows #111439
Conversation
Currently, the plugin Watcher checks if a file is a socket or not by running mode&os.ModeSocket != 0, which can't be True on Windows. util.IsUnixDomainSocket should be used instead.
0fad1a0
to
f567b85
Compare
/milestone v1.25 |
/sig windows |
/sig windows |
/triage accepted |
/test pull-kubernetes-e2e-capz-windows-containerd |
Can we also fix the unit test here where this was found? /priority important soon |
@jsturtevant: The label(s) 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. |
/priority important-soon |
/lgtm |
/lgtm |
/approve again |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: claudiubelu, dchen1107 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 |
What type of PR is this?
What this PR does / why we need it:
Currently, the plugin Watcher checks if a file is a socket or not by running
mode&os.ModeSocket != 0
, which can't be True on Windows.util.IsUnixDomainSocket
should be used instead, which has a Windows implementation.Which issue(s) this PR fixes:
Fixes #111438
Related: #51540
Special notes for your reviewer:
Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: