diff --git a/examples/ignition/bootkube-controller.yaml b/examples/ignition/bootkube-controller.yaml index 9586946d..0bbe8a27 100644 --- a/examples/ignition/bootkube-controller.yaml +++ b/examples/ignition/bootkube-controller.yaml @@ -98,6 +98,11 @@ storage: contents: inline: {{.domain_name}} + - path: /etc/sysctl.d/max-user-watches.conf + filesystem: root + contents: + inline: | + fs.inotify.max_user_watches=16184 - path: /home/core/bootkube-start filesystem: root mode: 0544 diff --git a/examples/ignition/bootkube-worker.yaml b/examples/ignition/bootkube-worker.yaml index 846a9313..920f97fe 100644 --- a/examples/ignition/bootkube-worker.yaml +++ b/examples/ignition/bootkube-worker.yaml @@ -88,7 +88,11 @@ storage: contents: inline: {{.domain_name}} - + - path: /etc/sysctl.d/max-user-watches.conf + filesystem: root + contents: + inline: | + fs.inotify.max_user_watches=16184 {{ if index . "ssh_authorized_keys" }} passwd: diff --git a/examples/ignition/k8s-controller.yaml b/examples/ignition/k8s-controller.yaml index 6f64d3f9..e6815664 100644 --- a/examples/ignition/k8s-controller.yaml +++ b/examples/ignition/k8s-controller.yaml @@ -126,6 +126,11 @@ storage: inline: | DOCKER_OPT_BIP="" DOCKER_OPT_IPMASQ="" + - path: /etc/sysctl.d/max-user-watches.conf + filesystem: root + contents: + inline: | + fs.inotify.max_user_watches=16184 - path: /etc/kubernetes/manifests/kube-proxy.yaml filesystem: root contents: diff --git a/examples/ignition/k8s-worker.yaml b/examples/ignition/k8s-worker.yaml index 3f189cff..4b64082d 100644 --- a/examples/ignition/k8s-worker.yaml +++ b/examples/ignition/k8s-worker.yaml @@ -112,6 +112,11 @@ storage: inline: | DOCKER_OPT_BIP="" DOCKER_OPT_IPMASQ="" + - path: /etc/sysctl.d/max-user-watches.conf + filesystem: root + contents: + inline: | + fs.inotify.max_user_watches=16184 - path: /etc/kubernetes/worker-kubeconfig.yaml filesystem: root contents: diff --git a/examples/ignition/rktnetes-controller.yaml b/examples/ignition/rktnetes-controller.yaml index 1677a26e..b7136d05 100644 --- a/examples/ignition/rktnetes-controller.yaml +++ b/examples/ignition/rktnetes-controller.yaml @@ -161,6 +161,11 @@ storage: inline: | DOCKER_OPT_BIP="" DOCKER_OPT_IPMASQ="" + - path: /etc/sysctl.d/max-user-watches.conf + filesystem: root + contents: + inline: | + fs.inotify.max_user_watches=16184 - path: /etc/kubernetes/manifests/kube-proxy.yaml filesystem: root contents: diff --git a/examples/ignition/rktnetes-worker.yaml b/examples/ignition/rktnetes-worker.yaml index 9f1ab792..d7f77a41 100644 --- a/examples/ignition/rktnetes-worker.yaml +++ b/examples/ignition/rktnetes-worker.yaml @@ -146,6 +146,11 @@ storage: inline: | DOCKER_OPT_BIP="" DOCKER_OPT_IPMASQ="" + - path: /etc/sysctl.d/max-user-watches.conf + filesystem: root + contents: + inline: | + fs.inotify.max_user_watches=16184 - path: /etc/kubernetes/worker-kubeconfig.yaml filesystem: root contents: