Nproc limit for kubelet

Asking for help? Comment out what you need so we can get more information to help you!

Cluster information:

Kubernetes version: 1.15
Cloud being used: AWS
Installation method: EKS
Host OS: Amazon Linux

We’re receiving this log message

Nov 24 16:48:07 ip-172-16-53-80 kubelet: runtime: failed to create new OS thread (have 3 already; errno=11)
Nov 24 16:48:07 ip-172-16-53-80 kubelet: runtime: may need to increase max user processes (ulimit -u)

I know that I can run ulimit -u unlimited to fix this issue, but I’m wondering if there’s something that I can add to the kubelet service file or any other way to limit the nproc setting to just kubelet. My goal is to prevent another service from opening too many processes.