-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Roll back default crio cgroup to systemd #12533
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: spowelljr 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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please lets paste the two config files one from minikube 1.23.0 and one from 1.23.1 and explain why cri-o needs systemd ...what is the default for containerd?
/ok-to-test |
kvm2 driver with docker runtime
Times for minikube start: 50.8s 47.6s 49.9s 49.1s 48.1s Times for minikube ingress: 34.4s 33.4s 32.4s 39.3s 31.9s docker driver with docker runtime
Times for minikube start: 22.7s 21.8s 21.7s 22.8s 22.3s Times for minikube (PR 12533) ingress: 28.9s 26.9s 34.5s 28.4s 28.4s docker driver with containerd runtime
Times for minikube start: 27.5s 44.3s 43.9s 43.5s 43.4s |
These are the flake rates of all failed tests.
To see the flake rates of all tests by environment, click here. |
Fixes #12509
So in the point release from v1.23.0 -> v1.23.1 I updated cri-o from v1.20 -> v1.22.
Unknown to us, a PR titled
"crio config" only prints the fields that are differet than the default
was included in the v1.22 release of cri-o. cri-o has the default cgroup manager set tosystemd
so if the system usessystemd
it no longer outputs it in thecrio config
.For minikube to know what cgroup to use for minikube, we default to
cgroupfs
and then parse the output ofcrio config
to determine what to use. The new version of crio was omitting outputtingsystemd
as the cgroup manager since it's the default, we had nothing to parse and were using our default ofcgroupfs
instead.crio v1.20 (423 lines of config)
crio v1.22 (88 lines of config)