Skip to content

Commit

Permalink
1024 due to CI limits
Browse files Browse the repository at this point in the history
  • Loading branch information
laverya committed Jan 29, 2025
1 parent b63b59f commit 7d574c1
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions pkg/preflights/host-preflight.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7d574c1

Please sign in to comment.