Check for dummy kernel module (#7348)

The dummy module is needed for nodelocaldns.

(cherry picked from commit 5a54db2f3c)
This commit is contained in:
Lennart Jern 2021-03-09 18:07:00 +02:00 committed by Kubernetes Prow Robot
parent c22915a08c
commit ac1aa4d591

View file

@ -80,3 +80,10 @@
- { name: kernel.panic, value: 10 } - { name: kernel.panic, value: 10 }
- { name: kernel.panic_on_oops, value: 1 } - { name: kernel.panic_on_oops, value: 1 }
when: kubelet_protect_kernel_defaults|bool when: kubelet_protect_kernel_defaults|bool
- name: Check dummy module
modprobe:
name: dummy
state: present
params: 'numdummies=0'
when: enable_nodelocaldns