Преглед на файлове

Merge pull request #9204 from jtudelag/increase-inotify-max-instances

Adds openshift_fs_inotify_max_user_instances to the node tuned profile.
Scott Dodson преди 6 години
родител
ревизия
7911faed0b
променени са 2 файла, в които са добавени 2 реда и са изтрити 0 реда
  1. 1 0
      roles/tuned/defaults/main.yml
  2. 1 0
      roles/tuned/templates/openshift-node/tuned.conf

+ 1 - 0
roles/tuned/defaults/main.yml

@@ -2,3 +2,4 @@
 tuned_etc_directory: '/etc/tuned'
 tuned_etc_directory: '/etc/tuned'
 tuned_templates_source: '../templates'
 tuned_templates_source: '../templates'
 openshift_fs_inotify_max_user_watches: 65536
 openshift_fs_inotify_max_user_watches: 65536
+openshift_fs_inotify_max_user_instances: 8192

+ 1 - 0
roles/tuned/templates/openshift-node/tuned.conf

@@ -9,3 +9,4 @@ include=openshift
 [sysctl]
 [sysctl]
 net.ipv4.tcp_fastopen=3
 net.ipv4.tcp_fastopen=3
 fs.inotify.max_user_watches={{ openshift_fs_inotify_max_user_watches }}
 fs.inotify.max_user_watches={{ openshift_fs_inotify_max_user_watches }}
+fs.inotify.max_user_instances={{ openshift_fs_inotify_max_user_instances }}