Skip to content
Snippets Groups Projects
Commit 58b5ba67 authored by garciadeblas's avatar garciadeblas
Browse files

Update fsnotify settings of the system kernel after installing k8s cluster


Change-Id: I5c25e7c3fe9cfd6ae03763468bcad95f47abd63d
Signed-off-by: default avatargarciadeblas <gerardo.garciadeblas@telefonica.com>
parent d2272721
No related branches found
No related tags found
No related merge requests found
......@@ -450,6 +450,10 @@ function install_k8s_cluster() {
$OSM_DEVOPS/installers/install_cluster_addons.sh ${K8SCLUSTER_ADDONS_INSTALL_OPTS} || \
FATAL_TRACK k8scluster "install_cluster_addons.sh failed for k3s cluster"
fi
echo "Updating fsnotify settings of the system kernel"
sudo bash -c "sysctl -w fs.inotify.max_user_watches=699050 > /etc/sysctl.d/99-custom-osm-sysctl.conf"
sudo bash -c "sysctl -w fs.inotify.max_user_instances=10922 >> /etc/sysctl.d/99-custom-osm-sysctl.conf"
sudo bash -c "sysctl -w fs.inotify.max_queued_events=1398101 >> /etc/sysctl.d/99-custom-osm-sysctl.conf"
[ -z "${DEBUG_INSTALL}" ] || DEBUG end of function
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment