Check for dummy kernel module (#7348)

The dummy module is needed for nodelocaldns.
pull/7361/head
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
1 changed files with 7 additions and 0 deletions

View File

@ -89,3 +89,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