mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-11-21 01:35:07 +00:00
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Validate cgroups-per-qos for Windows **What this PR does / why we need it**: cgroups-per-qos and enforce-node-allocatable is not supported on Windows, but kubelet allows it on Windows. And then Pods may stuck in terminating state because of it. Refer #61716. This PR adds validation for them and make kubelet refusing to start in this case. **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*: Fixes #61716 **Special notes for your reviewer**: **Release note**: ```release-note Fail fast if cgroups-per-qos is set on Windows ```