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
Figure out a way to manage the discrepancy on windows nodes from the linux node #60338
Comments
@dchen1107 Thanks. This is indeed a problem of windows containers. Usually, we handle this problem in three ways
I think (2) is our preferred way, because (1) would make codes too complex and scattered, while (3) would make codes duplicate. Windows features have been also broken frequently as no upstream Windows tests are running. |
/assign |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
/remove-lifecycle stale |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
@feiskyer is there anything left to do for this bug? |
@yujuhong this is actually cleanup instead of bug. I think there're still many places needing to improve. /kind cleanup |
(2) is current preferred way. For /triage accepted |
@pacoxu: Please ensure the request meets the requirements listed here. If this request no longer meets these requirements, the label can be removed 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. |
I'd like to help out on this issue. Needed pointers on if anything more than the below is required:
|
@pmgk07 right, this has to be done, Make sure do it for all runtime.GOOS(wherever possible) instances |
Refactor platform dependencies of kubelet options
Thanks @adisky. Raising a simple PR for ./cmd/kubelet/options package to just get the idea of a general PR workflow in this repo |
Is this still in need of cleanup? If not I'd like to work on this. @pmgk07 |
@sorkinl Yes,
|
Thank you @pmgk07 ! I will try to follow these instructions and post here with updates. |
Hi @pmgk07, I'm working on the issue with @sorkinl . We tried making some changes and I was wondering if you could take a look and comment: We made changes in
to
and made
Is this the right approach? Do we test with go test |
@raphminkyu Sorry for the late reply on this PR. Yes, that looks good enough. So far these are the files that are in need of refactoring. I grepped on "runtime.GOOS" occurences, might have some false positives.
@raphminkyu & @sorkinl I'll pick up kubelet_pods / kubelet / kubelet_node_status files (& their corresponding test files) for refactoring. |
@pmgk07 Thank you this helps a lot. We will start with changes going down the list and will reach out if we have any questions. |
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 |
/triage accepted |
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 |
https://github.com/kubernetes/kubernetes/pull/60275/files/2d942dab68b64e684dd2b75232cf9daabc6e0a95#diff-10055ae93a8699af13ceba0482fc43c3
I am expecting we have more windows specific config like code coming to Kubelet and other node components. We should figure out a way to handle this, so that the code can be easily managed? Instead of letting windows-special handling code like this scattered everywhere in our codebase.
cc/ @feiskyer @michmike @kubernetes/sig-windows-bugs
The text was updated successfully, but these errors were encountered: