You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### Introduce a kubelet flag to disable cgroup v1 support
153
153
154
-
A new boolean kubelet flag, `--disable-cgroupv1-support`, will be introduced. By default, this flag will be set to `false` to ensure users can continue to use cgroup v1 without any issues. The primary objective of introducing this flag is to set it to `true` in CI, ensuring that all blocking and new CI jobs use only cgroup v2 by default (unless the job explicitly wants to run on cgroup v1).
154
+
A new boolean kubelet flag, `--fail-cgroupv1`, will be introduced. By default, this flag will be set to `false` to ensure users can continue to use cgroup v1 without any issues. The primary objective of introducing this flag is to set it to `true` in CI, ensuring that all blocking and new CI jobs use only cgroup v2 by default (unless the job explicitly wants to run on cgroup v1).
155
155
156
156
157
157
### Code modifications for default cgroup assumptions
@@ -268,11 +268,11 @@ This feature won't follow the normal cycle of alpha->beta->GA, and will instead
268
268
#### GA
269
269
- Kubelet detects the host using cgroup v1, it will not only log a warning message but also generate an event to highlight the cgroup v1 moving to maintenance mode.
270
270
- Introduce a new metric, `kubelet_cgroup_version`, to provide insights into the cgroup version utilized by the hosts.
271
-
- Introduce a boolean kubelet flag `--disable-cgroupv1-support` and set it to `false` by default.
271
+
- Introduce a boolean kubelet flag `--fail-cgroupv1` and set it to `false` by default.
272
272
- Blog post on advantages of using cgroup v2 with kubernetes.
273
273
- Code modifications for to assume cgroup v2 by default. Check [this](#code-modifications-for-default-cgroup-assumptions) section for details.
274
274
- Ensure all features coverage by running all tests on cgroup v2 (while some may still run on cgroup v1 to test back compatibility)
275
-
- Make cgroup v2 host mandatory for new e2e and node e2e jobs. Set `--disable-cgroupv1-support` to `true` for those jobs.
275
+
- Make cgroup v2 host mandatory for new e2e and node e2e jobs. Set `--fail-cgroupv1` to `true` for those jobs.
276
276
- Fix all pending known bugs in cgroup v2 support in kubernetes.
277
277
- Separation of cgroup v1 and cgroup v2 Code Paths. Check [this](#separation-of-cgroup-v1-and-cgroup-v2-code-paths) section for details.
0 commit comments