Skip to content

Commit fcda1cf

Browse files
KEP-4033: update unit tests plan
Co-authored-by: Peter Hunt~ <[email protected]>
1 parent 2dca79a commit fcda1cf

File tree

1 file changed

+9
-0
lines changed
  • keps/sig-node/4033-group-driver-detection-over-cri

1 file changed

+9
-0
lines changed

keps/sig-node/4033-group-driver-detection-over-cri/README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -330,6 +330,15 @@ extending the production code to implement this enhancement.
330330

331331
- `k8s.io/kubernetes/pkg/kubelet/kuberuntime`: `2023-06-15` - `66.1%`
332332

333+
Kubelet unit tests that use the
334+
[fake_runtime](https://github.com/kubernetes/cri-api/blob/master/pkg/apis/testing/fake_runtime_service.go)
335+
will be updated to verify the Kubelet is correctly inheriting the cgroup
336+
driver:
337+
338+
- If CRI returns "Not Implemented", Kubelet falls back to its own internal cgroup driver
339+
- If CRI returns an error, Kubelet fails to run
340+
- If CRI returns the cgroup driver, Kubelet overrides its cgroup driver to use the one returned by CRI.
341+
333342
##### Integration tests
334343

335344
<!--

0 commit comments

Comments
 (0)