kubevirtci
kubevirtci copied to clipboard
[k8s providers]: use systemd as the cgroup driver for CRI-O and kubelet
What this PR does / why we need it: Since Centos is a systemd based OS there is no need to work directly with cgroupfs. Also its requried to be consistent with the cgroup driver both in kubelet and in the CRI.
In addition there was a mismatch between cAdivor CRI-O communication, since cAdvisor works with systemd while CRI-O was configured to work with cgroupfs.
Checklist
This checklist is not enforcing, but it's a reminder of items that could be relevant to every PR. Approvers are expected to review this list.
- [ ] Design: A design document was considered and is present (link) or not required
- [ ] PR: The PR description is expressive enough and will help future contributors
- [ ] Code: Write code that humans can understand and Keep it simple
- [ ] Refactor: You have left the code cleaner than you found it (Boy Scout Rule)
- [ ] Upgrade: Impact of this change on upgrade flows was considered and addressed if required
- [ ] Testing: New code requires new unit tests. New features and bug fixes require at least on e2e test
- [ ] Documentation: A user-guide update was considered and is present (link) or not required. You want a user-guide update if it's a user facing feature / API change.
- [ ] Community: Announcement to kubevirt-dev was considered
Release note:
use systemd as the cgroup driver for CRI-O and kubelet