Check for dummy kernel module (#7348)

The dummy module is needed for nodelocaldns.
This commit is contained in:
Lennart Jern 2021-03-09 18:07:00 +02:00 committed by GitHub
parent b47542b003
commit 5a54db2f3c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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