Add cgroup v2 freezer check for API server status#22249
Add cgroup v2 freezer check for API server status#22249medyagh merged 5 commits intokubernetes:masterfrom
Conversation
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: medyagh The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/ok-to-test |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Pull request overview
This PR improves API server pause detection on systems using cgroup v2 by adding a fallback mechanism when the traditional cgroup v1 freezer check fails.
Key Changes:
- Added
isCgroupV2Paused()function to check freeze state using cgroup v2 interface - Modified
APIServerStatus()to attempt cgroup v2 detection before falling back to non-freezer status checks
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
0bfe8fc to
03cab77
Compare
|
/ok-to-test |
|
kvm2 driver with docker runtime DetailsTimes for minikube start: 43.7s 43.3s 42.5s 42.8s 39.7s Times for minikube ingress: 15.8s 15.8s 15.3s 15.8s 16.3s docker driver with docker runtime DetailsTimes for minikube start: 20.7s 23.3s 23.5s 21.3s 22.7s Times for minikube ingress: 10.6s 10.6s 73.1s 10.6s 10.6s docker driver with containerd runtime DetailsTimes for minikube start: 19.7s 22.3s 18.8s 21.1s 19.9s Times for minikube ingress: 23.1s 23.1s 23.1s 23.1s 23.1s |
|
@medyagh: The following tests failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. DetailsInstructions 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-sigs/prow repository. I understand the commands that are listed here. |
|
Here are the number of top 10 failed tests in each environments with lowest flake rate.
Besides the following environments also have failed tests:
To see the flake rates of all tests by environment, click here. |
Improve Detecting Pause on Cgroupv2
closes
#22247