oracle / terraform-kubernetes-installer

Terraform Installer for Kubernetes on Oracle Cloud Infrastructure
Other
179 stars 118 forks source link

k8s worker freeze when launching several pods #205

Closed xyklex closed 6 years ago

xyklex commented 6 years ago

I just want to comment this issue I was having that was not easy to come across due to the amount of lines on /var/log/messages, and maybe helps someone else.

I deployed my cluster using this repo, and my k8s workers starting freeze completely and not respond to any action, the only solution was to restart them but when begins to start the pods it freeze again, so I needed to remove them before launch them again.

That issue was happening on Oracle Linux 7.4 using Docker 17.06.2.ol and k8s 1.8.14

The solution was just increasing this value sudo sysctl fs.inotify.max_user_watches=1048576