For today decided to dedicate a quick vlog on this issue that I run into once in awhile fix and forget instead of just changing the default settings right from the start. Hopefully, now I will start doing that.
The problem is a Linux one and not necessarily a problem but simply that I am hitting certain thresholds in a default Linux installation. I have loaded a lot onto a single OS so this is to be expected. You may see similar problems with very busy databases and other workloads.
Going to add in the fixes here on top of providing a github link in the future.
Note these settings can vary but these are the ones that worked for me:
cat <<EOF | sudo tee /etc/sysctl.d/99-kubernetes.conf
fs.inotify.max_user_watches=524288
fs.inotify.max_user_instances=512
fs.inotify.max_queued_events=32768
fs.file-max=2097152
vm.max_map_count=262144
EOF
# You can either reboot or apply immediately with the command below:
sudo sysctl -p /etc/sysctl.d/99-kubernetes.conf