Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions pkg/preflights/host-preflight.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -901,6 +901,24 @@ spec:
- pass:
when: 'net.ipv4.ip_forward > 0'
message: "IP forwarding is enabled."
- sysctl:
checkName: "Adequate inotify max_user_instances"
outcomes:
- fail:
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 > 1023'
message: "Adequate inotify max_user_instances."
- sysctl:
checkName: "Adequate inotify max_user_watches"
outcomes:
- fail:
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 > 1023'
message: "Adequate inotify max_user_watches."
- networkNamespaceConnectivity:
collectorName: check-network-namespace-connectivity
outcomes:
Expand Down
Loading