Commit ba8666c9 authored by Bence Nagy's avatar Bence Nagy

ansible: sysctl set fs.inotify.max_user_watches

Cause of https://github.com/rook/rook/issues/2568
parent 38782826
......@@ -31,7 +31,7 @@
regexp: '^KUBELET_EXTRA_ARGS='
line: 'KUBELET_EXTRA_ARGS=--read-only-port=10255'
- name: set bridge-nf-call-iptables
- name: set bridge-nf-call-iptables # flannel docs asked for this maybe?
sysctl:
name: net.bridge.bridge-nf-call-iptables
value: 1
......@@ -39,6 +39,14 @@
state: present
reload: yes
- name: set inotify.max_user_watches # https://github.com/rook/rook/issues/2568#issuecomment-464522993
sysctl:
name: fs.inotify.max_user_watches
value: 524288
sysctl_set: yes
state: present
reload: yes
- name: ensure kubectl config directory exists
file: path=~/.kube state=directory mode=0700
become_user: "{{ user }}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment