Check for dummy kernel module (#7348)
The dummy module is needed for nodelocaldns.
(cherry picked from commit 5a54db2f3c
)
This commit is contained in:
parent
c22915a08c
commit
ac1aa4d591
1 changed files with 7 additions and 0 deletions
|
@ -80,3 +80,10 @@
|
|||
- { name: kernel.panic, value: 10 }
|
||||
- { name: kernel.panic_on_oops, value: 1 }
|
||||
when: kubelet_protect_kernel_defaults|bool
|
||||
|
||||
- name: Check dummy module
|
||||
modprobe:
|
||||
name: dummy
|
||||
state: present
|
||||
params: 'numdummies=0'
|
||||
when: enable_nodelocaldns
|
||||
|
|
Loading…
Reference in a new issue