Skip to content

Commit

Permalink
Check for dummy kernel module (kubernetes-sigs#7348)
Browse files Browse the repository at this point in the history
The dummy module is needed for nodelocaldns.
  • Loading branch information
Lennart Jern authored Mar 9, 2021
1 parent b47542b commit 5a54db2
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 5a54db2

Please sign in to comment.