diff --git a/pkg/preflights/host-preflight.yaml b/pkg/preflights/host-preflight.yaml index c957f743b..1bc5cba3b 100644 --- a/pkg/preflights/host-preflight.yaml +++ b/pkg/preflights/host-preflight.yaml @@ -905,19 +905,19 @@ spec: checkName: "Adequate inotify max_user_instances" outcomes: - fail: - when: 'fs.inotify.max_user_instances < 8192' - message: "Inadequate inotify max_user_instances. To enable it, edit /etc/sysctl.conf, add or edit 'fs.inotify.max_user_instances' to a value of at least 8192, and run 'sudo sysctl -p'." + when: 'fs.inotify.max_user_instances < 1024' + message: "Inadequate inotify max_user_instances. To enable it, edit /etc/sysctl.conf, add or edit 'fs.inotify.max_user_instances' to a value of at least 1024, and run 'sudo sysctl -p'." - pass: - when: 'fs.inotify.max_user_instances > 8191' + when: 'fs.inotify.max_user_instances > 1023' message: "Adequate inotify max_user_instances." - sysctl: checkName: "Adequate inotify max_user_watches" outcomes: - fail: - when: 'fs.inotify.max_user_watches < 8192' - message: "Inadequate inotify max_user_watches. To enable it, edit /etc/sysctl.conf, add or edit 'fs.inotify.max_user_watches' to a value of at least 8192, and run 'sudo sysctl -p'." + when: 'fs.inotify.max_user_watches < 1024' + message: "Inadequate inotify max_user_watches. To enable it, edit /etc/sysctl.conf, add or edit 'fs.inotify.max_user_watches' to a value of at least 1024, and run 'sudo sysctl -p'." - pass: - when: 'fs.inotify.max_user_watches > 8191' + when: 'fs.inotify.max_user_watches > 1023' message: "Adequate inotify max_user_watches." - networkNamespaceConnectivity: collectorName: check-network-namespace-connectivity