Skip to content

Commit b341380

Browse files
authored
Increase max instances to accommodate large scale cisco xrd topos (#543)
Increase max instances to accomodate large scale cisco xrd topos
1 parent 66d2fa4 commit b341380

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cloudbuild/external.pkr.hcl

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ build {
7373
"sudo usermod -aG docker $USER",
7474
"sudo docker version",
7575
"sudo apt-get install openvswitch-switch-dpdk -y", # install openvswitch for cisco containers
76-
"echo \"fs.inotify.max_user_instances=64000\" | sudo tee -a /etc/sysctl.conf", # configure inotify for cisco xrd containers
76+
"echo \"fs.inotify.max_user_instances=128000\" | sudo tee -a /etc/sysctl.conf", # configure inotify for cisco xrd containers
7777
"echo \"kernel.pid_max=1048575\" | sudo tee -a /etc/sysctl.conf", # configure pid_max for cisco 8000e containers
7878
"sudo sysctl -p",
7979
]

cloudbuild/internal.pkr.hcl

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ build {
7373
"sudo usermod -aG docker $USER",
7474
"sudo docker version",
7575
"sudo apt-get install openvswitch-switch-dpdk -y", # install openvswitch for cisco containers
76-
"echo \"fs.inotify.max_user_instances=64000\" | sudo tee -a /etc/sysctl.conf", # configure inotify for cisco xrd containers
76+
"echo \"fs.inotify.max_user_instances=128000\" | sudo tee -a /etc/sysctl.conf", # configure inotify for cisco xrd containers
7777
"echo \"kernel.pid_max=1048575\" | sudo tee -a /etc/sysctl.conf", # configure pid_max for cisco 8000e containers
7878
"sudo sysctl -p",
7979
"echo Pulling containers...",

0 commit comments

Comments
 (0)