amimof / kubernetes-the-right-way

Install Kubernetes with Ansible
MIT License
28 stars 7 forks source link

Add `TasksMax=infinity` to `containerd.service` #67

Closed amimof closed 4 years ago

amimof commented 4 years ago

The entry TasksMax=infinity in /etc/systemd/system/containerd.service will prevent nodes from failing to run containers due to too many processes max limit.

This parameters exists in the official containerd/cri version of containerd.service: https://github.com/containerd/cri/blob/master/contrib/systemd-units/containerd.service