Check for dummy kernel module (#7348)
The dummy module is needed for nodelocaldns.
This commit is contained in:
parent
b47542b003
commit
5a54db2f3c
1 changed files with 7 additions and 0 deletions
|
@ -89,3 +89,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
|
||||||
|
|
Loading…
Reference in a new issue